function TestInvalidHookCollectionHooks::testHook
Same name in this branch
- 11.x core/modules/system/tests/themes/HookCollector/oop_hook_theme_with_module/src/Hook/TestInvalidHookCollectionHooks.php \Drupal\oop_hook_theme_with_module\Hook\TestInvalidHookCollectionHooks::testHook()
- 11.x core/modules/system/tests/themes/HookCollector/oop_hook_theme_with_order/src/Hook/TestInvalidHookCollectionHooks.php \Drupal\oop_hook_theme_with_order\Hook\TestInvalidHookCollectionHooks::testHook()
- 11.x core/modules/system/tests/themes/HookCollector/oop_hook_theme_with_reorder/src/Hook/TestInvalidHookCollectionHooks.php \Drupal\oop_hook_theme_with_reorder\Hook\TestInvalidHookCollectionHooks::testHook()
Attributes
File
-
core/
modules/ system/ tests/ themes/ HookCollector/ oop_hook_theme_with_remove/ src/ Hook/ TestInvalidHookCollectionHooks.php, line 15
Class
- TestInvalidHookCollectionHooks
- Contains hooks that will throw exceptions during collection.
Namespace
Drupal\oop_hook_theme_with_remove\HookCode
public function testHook(array &$calls) : void {
$calls[] = __METHOD__;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.