function AHooks::testHookAfterB

Attributes

#[Hook('test_hook', order: new OrderAfter(modules: ['bbb_hook_order_test']))]

File

core/modules/system/tests/modules/HookOrder/aaa_hook_order_test/src/Hook/AHooks.php, line 36

Class

AHooks
This class contains hook implementations.

Namespace

Drupal\aaa_hook_order_test\Hook

Code

public function testHookAfterB() : string {
    return __METHOD__;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.