function HookAttributeInvokeHook::__invoke

Implements hook_cache_flush().

File

core/modules/system/tests/modules/hook_collector_hook_attribute/src/Hook/HookAttributeInvokeHook.php, line 18

Class

HookAttributeInvokeHook
Test Hook attribute named arguments.

Namespace

Drupal\hook_collector_hook_attribute\Hook

Code

public function __invoke() : void {
    // Set a global value we can check in test code.
    $GLOBALS['hook_invoke_method'] = 'hook_invoke_method';
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.