Adds services tagged "needs_destruction" to the "kernel_destruct_subscriber" service.
Hierarchy
- class \Drupal\Core\DependencyInjection\Compiler\RegisterServicesForDestructionPass implements CompilerPassInterface
See also
\Drupal\Core\DestructableInterface
File
- core/lib/Drupal/Core/DependencyInjection/Compiler/RegisterServicesForDestructionPass.php, line 14
Namespace
Drupal\Core\DependencyInjection\Compiler
Members
Name | Modifiers | Type | Description |
---|---|---|---|
RegisterServicesForDestructionPass::process | public | function | You can modify the container here before it is dumped to PHP code. Overrides CompilerPassInterface::process |
Please login to continue.