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__;
  }

}

Members

Title Sort descending Modifiers Object type Summary
BMissingTargetAlter::testABAlterRemovedByXyz public function #[Hook('test_ab_alter')]
BMissingTargetAlter::testABAlterReorderedFirstByXyz public function #[Hook('test_ab_alter')]
BMissingTargetAlter::testBAlter public function #[Hook('test_b_alter')]
BMissingTargetAlter::testBAlterRemovedByXyz public function #[Hook('test_b_alter')]
BMissingTargetAlter::testBAlterReorderedFirstByXyz public function #[Hook('test_b_alter')]
BMissingTargetAlter::testBSubtypeAlter public function #[Hook('test_b_subtype_alter')]

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