function AHooks::testBothParametersHook

Attributes

#[Hook('test_both_parameters_hook', order: new OrderAfter(modules: ['bbb_hook_order_test'], classesAndMethods: [[CHooks::class, 'testBothParametersHook']]))]

File

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

Class

AHooks
This class contains hook implementations.

Namespace

Drupal\aaa_hook_order_test\Hook

Code

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

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