public function ServiceProviderBase::alter in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/DependencyInjection/ServiceProviderBase.php \Drupal\Core\DependencyInjection\ServiceProviderBase::alter()
- 10 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 calls to ServiceProviderBase::alter()
- MediaTestOembedServiceProvider::alter in core/
modules/ media/ tests/ modules/ media_test_oembed/ src/ MediaTestOembedServiceProvider.php - Modifies existing service definitions.
- MigrateDrupalServiceProvider::alter in core/
modules/ migrate_drupal/ src/ MigrateDrupalServiceProvider.php - Modifies existing service definitions.
5 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.
- MediaTestOembedServiceProvider::alter in core/
modules/ media/ tests/ modules/ media_test_oembed/ src/ MediaTestOembedServiceProvider.php - Modifies existing service definitions.
- MigrateDrupalServiceProvider::alter in core/
modules/ migrate_drupal/ src/ MigrateDrupalServiceProvider.php - Modifies existing service definitions.
- WorkspacesServiceProvider::alter in core/
modules/ workspaces/ src/ WorkspacesServiceProvider.php - Modifies existing service definitions.
File
- core/
lib/ Drupal/ Core/ DependencyInjection/ ServiceProviderBase.php, line 21
Class
- ServiceProviderBase
- Base service provider implementation.
Namespace
Drupal\Core\DependencyInjectionCode
public function alter(ContainerBuilder $container) {
}