class TestHookBefore
Same name in this branch
- 11.x core/modules/system/tests/modules/HookCollector/aaa_hook_collector_test/src/Hook/TestHookBefore.php \Drupal\aaa_hook_collector_test\Hook\TestHookBefore
This class contains hook implementations.
By default, these will be called in module order, which is predictable due to the alphabetical module names. Some of the implementations are reordered using order attributes.
Hierarchy
- class \Drupal\bbb_hook_collector_test\Hook\TestHookBefore
Expanded class hierarchy of TestHookBefore
File
-
core/
modules/ system/ tests/ modules/ HookCollector/ bbb_hook_collector_test/ src/ Hook/ TestHookBefore.php, line 17
Namespace
Drupal\bbb_hook_collector_test\HookView source
class TestHookBefore {
/**
* This pair tests OrderBefore.
*/
public function hookBefore() : string {
return __METHOD__;
}
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
TestHookBefore::hookBefore | public | function | This pair tests OrderBefore. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.