class BMissingTargetHooks

Contains hook implementations.

Hierarchy

Expanded class hierarchy of BMissingTargetHooks

See also

\Drupal\KernelTests\Core\Hook\HookOrderTest::testReorderMissingTarget()

2 files declare their use of BMissingTargetHooks
HookOrderTest.php in core/tests/Drupal/KernelTests/Core/Hook/HookOrderTest.php
XyzMissingTargetHooks.php in core/modules/system/tests/modules/HookOrder/xyz_hook_order_test/src/Hook/XyzMissingTargetHooks.php

File

core/modules/system/tests/modules/HookOrder/bbb_hook_order_test/src/Hook/BMissingTargetHooks.php, line 14

Namespace

Drupal\bbb_hook_order_test\Hook
View source
class BMissingTargetHooks {
  public function testABHookReorderedFirstByXyz() : string {
    return __METHOD__;
  }
  public function testABHookRemovedByXyz() : string {
    return __METHOD__;
  }
  public function testBHook() : string {
    return __METHOD__;
  }
  public function testBHookReorderedFirstByXyz() : string {
    return __METHOD__;
  }
  public function testBHookRemovedByXyz() : string {
    return __METHOD__;
  }
  public function testUnrelatedHook() : string {
    return __METHOD__;
  }

}

Members

Title Sort descending Modifiers Object type Summary
BMissingTargetHooks::testABHookRemovedByXyz public function #[Hook('test_ab_hook')]
BMissingTargetHooks::testABHookReorderedFirstByXyz public function #[Hook('test_ab_hook')]
BMissingTargetHooks::testBHook public function #[Hook('test_b_hook')]
BMissingTargetHooks::testBHookRemovedByXyz public function #[Hook('test_b_hook')]
BMissingTargetHooks::testBHookReorderedFirstByXyz public function #[Hook('test_b_hook')]
BMissingTargetHooks::testUnrelatedHook public function #[Hook('test_unrelated_hook')]

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