function CAlterHooks::testAlter

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

Implements hook_test_alter().

This implementation has no ordering modifications.

Attributes

#[Hook('test_alter')]

File

core/modules/system/tests/modules/HookOrder/ccc_hook_order_test/src/Hook/CAlterHooks.php, line 25

Class

CAlterHooks
This class contains hook implementations.

Namespace

Drupal\ccc_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.