function SkipProceduralHooks::cacheFlush
Implements hook_cache_flush().
File
-
core/
modules/ system/ tests/ modules/ hook_collector_skip_procedural/ src/ Hook/ SkipProceduralHooks.php, line 17
Class
- SkipProceduralHooks
- Hook implementations for hook_collector_skip_procedural.
Namespace
Drupal\hook_collector_skip_procedural\HookCode
public function cacheFlush() : void {
// Set a global value we can check in test code.
hook_collector_skip_procedural_custom_function();
$GLOBALS['skipped_procedural_oop_cache_flush'] = 'skipped_procedural_oop_cache_flush';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.