function KernelTestHooksTest::hookTestHookAlter
Same name and namespace in other branches
- 11.x core/tests/Drupal/KernelTests/Core/Hook/KernelTestHooksTest.php \Drupal\KernelTests\Core\Hook\KernelTestHooksTest::hookTestHookAlter()
Implements hook_test_hook_alter().
Attributes
#[Hook('test_hook_alter')]
File
-
core/
tests/ Drupal/ KernelTests/ Core/ Hook/ KernelTestHooksTest.php, line 49
Class
- KernelTestHooksTest
- Tests that hook implementations in Kernel test classes are executed.
Namespace
Drupal\KernelTests\Core\HookCode
public function hookTestHookAlter(array &$values) : void {
$values[] = __METHOD__;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.