function CHooks::testHookRemoved

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

Implements hook_test_hook().

This implementation is removed in class \Drupal\ddd_hook_order_test\Hook\DHooks.

Attributes

#[Hook('test_hook')]

See also

\Drupal\ddd_hook_order_test\Hook\DHooks

File

core/modules/system/tests/modules/HookOrder/ccc_hook_order_test/src/Hook/CHooks.php, line 62

Class

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

Namespace

Drupal\ccc_hook_order_test\Hook

Code

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

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