You are here

public function ServiceProviderBase::alter in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/DependencyInjection/ServiceProviderBase.php \Drupal\Core\DependencyInjection\ServiceProviderBase::alter()

Modifies existing service definitions.

Parameters

ContainerBuilder $container: The ContainerBuilder whose service definitions can be altered.

Overrides ServiceModifierInterface::alter

2 methods override ServiceProviderBase::alter()
InlineFormErrorsServiceProvider::alter in core/modules/inline_form_errors/src/InlineFormErrorsServiceProvider.php
Modifies existing service definitions.
LanguageServiceProvider::alter in core/modules/language/src/LanguageServiceProvider.php
Modifies existing service definitions.

File

core/lib/Drupal/Core/DependencyInjection/ServiceProviderBase.php, line 26
Contains \Drupal\Core\DependencyInjection\ServiceProviderBase.

Class

ServiceProviderBase
Base service provider implementation.

Namespace

Drupal\Core\DependencyInjection

Code

public function alter(ContainerBuilder $container) {
}