function AMissingTargetHooks::testABHook

Same name and namespace in other branches
  1. 11.x core/modules/system/tests/modules/HookOrder/aaa_hook_order_test/src/Hook/AMissingTargetHooks.php \Drupal\aaa_hook_order_test\Hook\AMissingTargetHooks::testABHook()

Implements hook_test_unrelated_hook().

Attributes

#[Hook('test_ab_hook')]

File

core/modules/system/tests/modules/HookOrder/aaa_hook_order_test/src/Hook/AMissingTargetHooks.php, line 19

Class

AMissingTargetHooks
Contains hook implementations.

Namespace

Drupal\aaa_hook_order_test\Hook

Code

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

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