function 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 51
Code
function image_module_test_image_effect_info_alter(&$effects) {
$image_effects_definition_called =& drupal_static(__FUNCTION__, 0);
$image_effects_definition_called++;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.