function BHooks::testBothParametersHook
Implements hook_test_hook().
The order of this implementation is modified in \Drupal\aaa_hook_order_test\Hook\AHooks::testBothParametersHook() to be before \Drupal\aaa_hook_order_test\Hook\AHooks::testBothParametersHook().
Attributes
#[Hook('test_both_parameters_hook')]
File
-
core/
modules/ system/ tests/ modules/ HookOrder/ bbb_hook_order_test/ src/ Hook/ BHooks.php, line 48
Class
- BHooks
- Provides hook implementations for testing the execution order of hooks.
Namespace
Drupal\bbb_hook_order_test\HookCode
public function testBothParametersHook() : string {
return __METHOD__;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.