You are here

function image_module_test_null_effect in Drupal 7

Image effect callback; Null.

Parameters

$image: An image object returned by image_load().

$data: An array with no attributes.

Return value

TRUE

1 string reference to 'image_module_test_null_effect'
image_module_test_image_effect_info in modules/image/tests/image_module_test.module
Implements hook_image_effect_info().

File

modules/image/tests/image_module_test.module, line 41
Provides Image module hook implementations for testing purposes.

Code

function image_module_test_null_effect(array &$image, array $data) {
  return TRUE;
}