function TestHookCollectionHooks::testHookAlter
Attributes
#[Hook('test_hook_alter')]
File
- 
              core/
modules/ system/ tests/ themes/ HookCollector/ oop_hook_theme/ src/ Hook/ TestHookCollectionHooks.php, line 14  
Class
- TestHookCollectionHooks
 - Contains hooks for testing hook collection.
 
Namespace
Drupal\oop_hook_theme\HookCode
public function testHookAlter(array &$calls) : void {
  $calls[] = __METHOD__;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.