function ImageModuleTestHooks::imageStyleFlush
Implements hook_image_style_flush().
File
-
core/
modules/ image/ tests/ modules/ image_module_test/ src/ Hook/ ImageModuleTestHooks.php, line 45
Class
- ImageModuleTestHooks
- Hook implementations for image_module_test.
Namespace
Drupal\image_module_test\HookCode
public function imageStyleFlush($style, $path = NULL) {
$state = \Drupal::state();
$state->set('image_module_test_image_style_flush.called', $path);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.