public function ServiceModifierInterface::alter
public ServiceModifierInterface::alter(ContainerBuilder $container)
Modifies existing service definitions.
Parameters
ContainerBuilder $container: The ContainerBuilder whose service definitions can be altered.
File
- core/lib/Drupal/Core/DependencyInjection/ServiceModifierInterface.php, line 18
Class
- ServiceModifierInterface
- Interface that service providers can implement to modify services.
Namespace
Drupal\Core\DependencyInjectionCode
public function alter(ContainerBuilder $container);
© 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!ServiceModifierInterface.php/function/ServiceModifierInterface::alter/8.1.x