function HookCollectorPass::process
Same name and namespace in other branches
- 11.x core/lib/Drupal/Core/Hook/HookCollectorPass.php \Drupal\Core\Hook\HookCollectorPass::process()
File
-
core/
lib/ Drupal/ Core/ Hook/ HookCollectorPass.php, line 113
Class
- HookCollectorPass
- Collects and registers hook implementations.
Namespace
Drupal\Core\HookCode
public function process(ContainerBuilder $container) : void {
$collector = static::collectAllHookImplementations($container);
$collector->writeToContainer($container);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.