function AHooks::testProceduralReorder
Same name and namespace in other branches
- 11.x core/modules/system/tests/modules/HookOrder/aaa_hook_order_test/src/Hook/AHooks.php \Drupal\aaa_hook_order_test\Hook\AHooks::testProceduralReorder()
Implements test_procedural_reorder().
Attributes
#[ReorderHook('test_procedural_reorder', ProceduralCall::class, 'bbb_hook_order_test_test_procedural_reorder', Order::First)]
#[RemoveHook('test_procedural_reorder', ProceduralCall::class, 'ccc_hook_order_test_test_procedural_reorder')]
#[Hook('test_procedural_reorder')]
File
-
core/
modules/ system/ tests/ modules/ HookOrder/ aaa_hook_order_test/ src/ Hook/ AHooks.php, line 95
Class
- AHooks
- Provides hook implementations for testing the execution order of hooks.
Namespace
Drupal\aaa_hook_order_test\HookCode
public function testProceduralReorder() : string {
return __METHOD__;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.