class AMissingTargetHooks
Same name and namespace in other branches
- 11.x core/modules/system/tests/modules/HookOrder/aaa_hook_order_test/src/Hook/AMissingTargetHooks.php \Drupal\aaa_hook_order_test\Hook\AMissingTargetHooks
Contains hook implementations.
Hierarchy
- class \Drupal\aaa_hook_order_test\Hook\AMissingTargetHooks
Expanded class hierarchy of AMissingTargetHooks
See also
\Drupal\KernelTests\Core\Hook\HookOrderTest::testReorderMissingTarget()
2 files declare their use of AMissingTargetHooks
- 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/ aaa_hook_order_test/ src/ Hook/ AMissingTargetHooks.php, line 14
Namespace
Drupal\aaa_hook_order_test\HookView source
class AMissingTargetHooks {
/**
* Implements hook_test_unrelated_hook().
*/
public function testABHook() : string {
return __METHOD__;
}
/**
* Implements hook_test_unrelated_hook().
*/
public function testUnrelatedHookReorderedLastForHookB() : string {
return __METHOD__;
}
/**
* Implements hook_test_unrelated_hook().
*/
public function testUnrelatedHookRemovedForHookB() : string {
return __METHOD__;
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.