Commit dafa899a authored by gdd's avatar gdd

More whitespace cleanup

parent 3f9c9318
......@@ -477,7 +477,7 @@ function image_styles() {
*/
function image_style_load($name) {
$style = config('image.styles.' . $name)->get();
// @todo Requires a more reliable + generic method to check for whether the
// configuration object exists.
if (!isset($style['name'])) {
......
......@@ -414,7 +414,7 @@ class ImageAdminStylesUnitTest extends ImageFieldTestCase {
// Revisit each form to make sure the effect was saved.
drupal_static_reset('image_styles');
$style = image_style_load($style_name);
foreach ($style['effects'] as $ieid => $effect) {
$this->drupalGet($style_path . '/effects/' . $ieid);
foreach ($effect_edits[$effect['name']] as $field => $value) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment