BMissingTargetAlter.php

Namespace

Drupal\bbb_hook_order_test\Hook

File

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

View source
<?php

declare (strict_types=1);
namespace Drupal\bbb_hook_order_test\Hook;

use Drupal\Core\Hook\Attribute\Hook;

/**
 * Contains alter hook implementations.
 *
 * @see \Drupal\KernelTests\Core\Hook\HookAlterOrderTest::testReorderAlterMissingTarget()
 */
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__;
  }

}

Classes

Title Deprecated Summary
BMissingTargetAlter Contains alter hook implementations.

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