diff options
author | webchick <webchick@24967.no-reply.drupal.org> | 2011-10-17 09:49:19 -0700 |
---|---|---|
committer | webchick <webchick@24967.no-reply.drupal.org> | 2011-10-17 09:49:19 -0700 |
commit | 89ad342620ab99728f64de4a32e4edf6ade55aa0 (patch) | |
tree | 8c8888b525b6f6168a3ebdfa269e24341c276589 /modules/image/tests/image_module_test.module | |
parent | 36dfb0797bffc5df535a58ca77eef9eb65e4ced8 (diff) | |
download | brdo-89ad342620ab99728f64de4a32e4edf6ade55aa0.tar.gz brdo-89ad342620ab99728f64de4a32e4edf6ade55aa0.tar.bz2 |
Oops. Forgot a file.
Diffstat (limited to 'modules/image/tests/image_module_test.module')
-rw-r--r-- | modules/image/tests/image_module_test.module | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/modules/image/tests/image_module_test.module b/modules/image/tests/image_module_test.module index 038bd155c..766a9d957 100644 --- a/modules/image/tests/image_module_test.module +++ b/modules/image/tests/image_module_test.module @@ -11,3 +11,31 @@ function image_module_test_file_download($uri) { } return -1; } + +/** + * Implements hook_image_effect_info(). + */ +function image_module_test_image_effect_info() { + $effects = array( + 'image_module_test_null' => array( + 'effect callback' => 'image_module_test_null_effect', + ), + ); + + return $effects; +} + +/** + * Image effect callback; Null. + * + * @param $image + * An image object returned by image_load(). + * @param $data + * An array with no attributes. + * + * @return + * TRUE + */ +function image_module_test_null_effect(array &$image, array $data) { + return TRUE; +} |