class TestHookCollectionHooks

Contains hooks for testing hook collection.

Hierarchy

Expanded class hierarchy of TestHookCollectionHooks

File

core/modules/system/tests/themes/HookCollector/oop_hook_theme/src/Hook/TestHookCollectionHooks.php, line 12

Namespace

Drupal\oop_hook_theme\Hook
View source
class TestHookCollectionHooks {
  public function testHookAlter(array &$calls) : void {
    $calls[] = __METHOD__;
  }

}

Members

Title Sort descending Modifiers Object type Summary
TestHookCollectionHooks::testHookAlter public function #[Hook('test_hook_alter')]

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