BMissingTargetHooks.php
Namespace
Drupal\bbb_hook_order_test\HookFile
-
core/
modules/ system/ tests/ modules/ HookOrder/ bbb_hook_order_test/ src/ Hook/ BMissingTargetHooks.php
View source
<?php
declare (strict_types=1);
namespace Drupal\bbb_hook_order_test\Hook;
use Drupal\Core\Hook\Attribute\Hook;
/**
* Contains hook implementations.
*
* @see \Drupal\KernelTests\Core\Hook\HookOrderTest::testReorderMissingTarget()
*/
class BMissingTargetHooks {
public function testABHookReorderedFirstByXyz() : string {
return __METHOD__;
}
public function testABHookRemovedByXyz() : string {
return __METHOD__;
}
public function testBHook() : string {
return __METHOD__;
}
public function testBHookReorderedFirstByXyz() : string {
return __METHOD__;
}
public function testBHookRemovedByXyz() : string {
return __METHOD__;
}
public function testUnrelatedHook() : string {
return __METHOD__;
}
}
Classes
| Title | Deprecated | Summary |
|---|---|---|
| BMissingTargetHooks | Contains hook implementations. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.