function TestHookOrderExtraTypes::customHookExtraTypes
Same name in this branch
- 11.x core/modules/system/tests/modules/HookCollector/aaa_hook_collector_test/src/Hook/TestHookOrderExtraTypes.php \Drupal\aaa_hook_collector_test\Hook\TestHookOrderExtraTypes::customHookExtraTypes()
This pair tests OrderAfter with ExtraTypes.
Attributes
#[Hook('custom_hook_extra_types2_alter')]
File
-
core/
modules/ system/ tests/ modules/ HookCollector/ bbb_hook_collector_test/ src/ Hook/ TestHookOrderExtraTypes.php, line 21
Class
- TestHookOrderExtraTypes
- This class contains hook implementations.
Namespace
Drupal\bbb_hook_collector_test\HookCode
public function customHookExtraTypes(array &$calls) : void {
$calls[] = __METHOD__;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.