function DAlterHooks::testAlter

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

Implements hook_test_alter().

This implementation has no ordering modifications.

Attributes

#[Hook('test_alter')]

File

core/modules/system/tests/modules/HookOrder/ddd_hook_order_test/src/Hook/DAlterHooks.php, line 24

Class

DAlterHooks
This class contains hook implementations.

Namespace

Drupal\ddd_hook_order_test\Hook

Code

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

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