class BMissingTargetHooks
Same name and namespace in other branches
- 11.x core/modules/system/tests/modules/HookOrder/bbb_hook_order_test/src/Hook/BMissingTargetHooks.php \Drupal\bbb_hook_order_test\Hook\BMissingTargetHooks
Contains hook implementations.
Hierarchy
- class \Drupal\bbb_hook_order_test\Hook\BMissingTargetHooks
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\HookView source
class BMissingTargetHooks {
/**
* Implements hook_test_ab_hook().
*/
public function testABHookReorderedFirstByXyz() : string {
return __METHOD__;
}
/**
* Implements hook_test_ab_hook().
*/
public function testABHookRemovedByXyz() : string {
return __METHOD__;
}
/**
* Implements hook_test_b_hook().
*/
public function testBHook() : string {
return __METHOD__;
}
/**
* Implements hook_test_b_hook().
*/
public function testBHookReorderedFirstByXyz() : string {
return __METHOD__;
}
/**
* Implements hook_test_b_hook().
*/
public function testBHookRemovedByXyz() : string {
return __METHOD__;
}
/**
* Implements hook_test_unrelated_hook().
*/
public function testUnrelatedHook() : string {
return __METHOD__;
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.