function CHooks::testBothParametersHook
Same name and namespace in other branches
- 11.x core/modules/system/tests/modules/HookOrder/ccc_hook_order_test/src/Hook/CHooks.php \Drupal\ccc_hook_order_test\Hook\CHooks::testBothParametersHook()
Implements hook_test_hook().
This implementation is modified in \Drupal\aaa_hook_order_test\Hook\AHooks::testBothParametersHook using the OrderAfter attribute.
Attributes
#[Hook('test_both_parameters_hook')]
File
-
core/
modules/ system/ tests/ modules/ HookOrder/ ccc_hook_order_test/ src/ Hook/ CHooks.php, line 74
Class
- CHooks
- Provides hook implementations for testing the execution order of hooks.
Namespace
Drupal\ccc_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.