BMissingTargetHooks.php
Same filename and directory in other branches
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 {
/**
* Implements hook_test_ab_hook().
*/
public function testABHookReorderedFirstByXyz() : string {
return __METHOD__;
}
/**
* Implements hook_test_ab_hook().
*/
public function testABHookRemovedByXyz() : string {
return __METHOD__;
}
/**
* Implements hook_test_b_hook().
*/
public function testBHook() : string {
return __METHOD__;
}
/**
* Implements hook_test_b_hook().
*/
public function testBHookReorderedFirstByXyz() : string {
return __METHOD__;
}
/**
* Implements hook_test_b_hook().
*/
public function testBHookRemovedByXyz() : string {
return __METHOD__;
}
/**
* Implements hook_test_unrelated_hook().
*/
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.