function AMissingTargetAlter::testABAlter

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

Implements hook_test_ab_alter().

Attributes

#[Hook('test_ab_alter')]

File

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

Class

AMissingTargetAlter
Provides hook implementations for testing the alteration of hooks.

Namespace

Drupal\aaa_hook_order_test\Hook

Code

public function testABAlter(array &$calls) : void {
  $calls[] = __METHOD__;
}

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