class BMissingTargetAlter

Contains alter hook implementations.

Hierarchy

Expanded class hierarchy of BMissingTargetAlter

See also

\Drupal\KernelTests\Core\Hook\HookAlterOrderTest::testReorderAlterMissingTarget()

2 files declare their use of BMissingTargetAlter
HookAlterOrderTest.php in core/tests/Drupal/KernelTests/Core/Hook/HookAlterOrderTest.php
XyzMissingTargetAlter.php in core/modules/system/tests/modules/HookOrder/xyz_hook_order_test/src/Hook/XyzMissingTargetAlter.php

File

core/modules/system/tests/modules/HookOrder/bbb_hook_order_test/src/Hook/BMissingTargetAlter.php, line 14

Namespace

Drupal\bbb_hook_order_test\Hook
View source
class BMissingTargetAlter {
  public function testABAlterReorderedFirstByXyz(array &$calls) : void {
    $calls[] = __METHOD__;
  }
  public function testABAlterRemovedByXyz(array &$calls) : void {
    $calls[] = __METHOD__;
  }
  public function testBAlter(array &$calls) : void {
    $calls[] = __METHOD__;
  }
  public function testBAlterReorderedFirstByXyz(array &$calls) : void {
    $calls[] = __METHOD__;
  }
  public function testBAlterRemovedByXyz(array &$calls) : void {
    $calls[] = __METHOD__;
  }
  public function testBSubtypeAlter(array &$calls) : void {
    $calls[] = __METHOD__;
  }

}

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