BCrossHookReorderAlter.php

Namespace

Drupal\bbb_hook_order_test\Hook

File

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

View source
<?php

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

use Drupal\Core\Hook\Attribute\Hook;
use Drupal\Core\Hook\Order\Order;

/**
 * Contains alter hook implementations.
 *
 * @see \Drupal\KernelTests\Core\Hook\HookAlterOrderTest::testReorderCrossHookAlter()
 */
class BCrossHookReorderAlter {
  public function baseAlterLast(array &$calls) : void {
    $calls[] = __METHOD__;
  }
  public function subtypeAlter(array &$calls) : void {
    $calls[] = __METHOD__;
  }
  public function baseAlter(array &$calls) : void {
    $calls[] = __METHOD__;
  }

}

Classes

Title Deprecated Summary
BCrossHookReorderAlter Contains alter hook implementations.

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