AMissingTargetAlter.php

Namespace

Drupal\aaa_hook_order_test\Hook

File

core/modules/system/tests/modules/HookOrder/aaa_hook_order_test/src/Hook/AMissingTargetAlter.php

View source
<?php

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

use Drupal\Core\Hook\Attribute\Hook;

/**
 * Contains alter hook implementations.
 *
 * @see \Drupal\KernelTests\Core\Hook\HookAlterOrderTest::testReorderAlterMissingTarget()
 */
class AMissingTargetAlter {
  public function testABAlter(array &$calls) : void {
    $calls[] = __METHOD__;
  }
  public function testASupertypeAlter(array &$calls) : void {
    $calls[] = __METHOD__;
  }
  public function testASupertypeAlterReorderedFirstForBSubtypeByXyz(array &$calls) : void {
    $calls[] = __METHOD__;
  }
  public function testASupertypeAlterRemovedForBSubtypeByXyz(array &$calls) : void {
    $calls[] = __METHOD__;
  }

}

Classes

Title Deprecated Summary
AMissingTargetAlter Contains alter hook implementations.

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