function image_module_test_image_effect_info_alter in Drupal 7
Same name and namespace in other branches
- 8 core/modules/image/tests/modules/image_module_test/image_module_test.module \image_module_test_image_effect_info_alter()
- 9 core/modules/image/tests/modules/image_module_test/image_module_test.module \image_module_test_image_effect_info_alter()
Implements hook_image_effect_info_alter().
Used to keep a count of cache misses in image_effect_definitions().
1 string reference to 'image_module_test_image_effect_info_alter'
- ImageEffectsUnitTest::testImageEffectsCaching in modules/
image/ image.test - Test image effect caching.
File
- modules/
image/ tests/ image_module_test.module, line 50 - Provides Image module hook implementations for testing purposes.
Code
function image_module_test_image_effect_info_alter(&$effects) {
$image_effects_definition_called =& drupal_static(__FUNCTION__, 0);
$image_effects_definition_called++;
}