function ServiceProviderBase::alter
Same name 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()
- 11.x core/lib/Drupal/Core/DependencyInjection/ServiceProviderBase.php \Drupal\Core\DependencyInjection\ServiceProviderBase::alter()
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) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.