function HookAttributeNamedArgumentsHook::flush
Same name and namespace in other branches
- 11.x core/modules/system/tests/modules/hook_collector_hook_attribute/src/Hook/HookAttributeNamedArgumentsHook.php \Drupal\hook_collector_hook_attribute\Hook\HookAttributeNamedArgumentsHook::flush()
Implements hook_cache_flush().
File
-
core/
modules/ system/ tests/ modules/ hook_collector_hook_attribute/ src/ Hook/ HookAttributeNamedArgumentsHook.php, line 18
Class
- HookAttributeNamedArgumentsHook
- Test Hook attribute named arguments.
Namespace
Drupal\hook_collector_hook_attribute\HookCode
public function flush() : void {
// Set a global value we can check in test code.
$GLOBALS['hook_named_arguments'] = 'hook_named_arguments';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.