Skip to content
Snippets Groups Projects
Commit 4158be70 authored by Angie Byron's avatar Angie Byron
Browse files

Issue #1187898 by droplet, Setca: Fixed hook_image_effect_info_alter() -...

Issue #1187898 by droplet, Setca: Fixed hook_image_effect_info_alter() - sample function body uses wrong variable name.
parent 469b41ed
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -55,8 +55,8 @@ function hook_image_effect_info() { ...@@ -55,8 +55,8 @@ function hook_image_effect_info() {
*/ */
function hook_image_effect_info_alter(&$effects) { function hook_image_effect_info_alter(&$effects) {
// Override the Image module's crop effect with more options. // Override the Image module's crop effect with more options.
$effect['image_crop']['effect callback'] = 'mymodule_crop_effect'; $effects['image_crop']['effect callback'] = 'mymodule_crop_effect';
$effect['image_crop']['form callback'] = 'mymodule_crop_form'; $effects['image_crop']['form callback'] = 'mymodule_crop_form';
} }
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment