function image_module_test_null_effect

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 42

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.