W3cubDocs

/Drupal 8

class ModifyServiceDefinitionsPass

Passes the container to the alter() method of all service providers.

Hierarchy

File

core/lib/Drupal/Core/DependencyInjection/Compiler/ModifyServiceDefinitionsPass.php, line 13

Namespace

Drupal\Core\DependencyInjection\Compiler

Members

Name Modifiers Type Description
ModifyServiceDefinitionsPass::process public function You can modify the container here before it is dumped to PHP code. Overrides CompilerPassInterface::process

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!DependencyInjection!Compiler!ModifyServiceDefinitionsPass.php/class/ModifyServiceDefinitionsPass/8.1.x