function BHooks::testHook

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

Implements hook_test_hook().

This implementation has no ordering modifications.

Attributes

#[Hook('test_hook')]

File

core/modules/system/tests/modules/HookOrder/bbb_hook_order_test/src/Hook/BHooks.php, line 26

Class

BHooks
Provides hook implementations for testing the execution order of hooks.

Namespace

Drupal\bbb_hook_order_test\Hook

Code

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

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