diff --git a/modules/image/image.api.php b/modules/image/image.api.php index 5b635ec749bca7904f66d3141ff02bd04eea6b1c..acb3f9c1983f63b28c7b30b0c3106c1fbe1b9fc2 100644 --- a/modules/image/image.api.php +++ b/modules/image/image.api.php @@ -55,8 +55,8 @@ function hook_image_effect_info() { */ function hook_image_effect_info_alter(&$effects) { // Override the Image module's crop effect with more options. - $effect['image_crop']['effect callback'] = 'mymodule_crop_effect'; - $effect['image_crop']['form callback'] = 'mymodule_crop_form'; + $effects['image_crop']['effect callback'] = 'mymodule_crop_effect'; + $effects['image_crop']['form callback'] = 'mymodule_crop_form'; } /**