function ServiceProviderBase::alter

Same name in other branches
  1. 9 core/lib/Drupal/Core/DependencyInjection/ServiceProviderBase.php \Drupal\Core\DependencyInjection\ServiceProviderBase::alter()
  2. 8.9.x core/lib/Drupal/Core/DependencyInjection/ServiceProviderBase.php \Drupal\Core\DependencyInjection\ServiceProviderBase::alter()
  3. 10 core/lib/Drupal/Core/DependencyInjection/ServiceProviderBase.php \Drupal\Core\DependencyInjection\ServiceProviderBase::alter()

Overrides ServiceModifierInterface::alter

4 calls to ServiceProviderBase::alter()
MediaTestOembedServiceProvider::alter in core/modules/media/tests/modules/media_test_oembed/src/MediaTestOembedServiceProvider.php
MigrateDrupalServiceProvider::alter in core/modules/migrate_drupal/src/MigrateDrupalServiceProvider.php
PackageManagerBypassServiceProvider::alter in core/modules/package_manager/tests/modules/package_manager_bypass/src/PackageManagerBypassServiceProvider.php
PackageManagerTestValidationServiceProvider::alter in core/modules/package_manager/tests/modules/package_manager_test_validation/src/PackageManagerTestValidationServiceProvider.php
7 methods override ServiceProviderBase::alter()
InlineFormErrorsServiceProvider::alter in core/modules/inline_form_errors/src/InlineFormErrorsServiceProvider.php
LanguageServiceProvider::alter in core/modules/language/src/LanguageServiceProvider.php
MediaTestOembedServiceProvider::alter in core/modules/media/tests/modules/media_test_oembed/src/MediaTestOembedServiceProvider.php
MigrateDrupalServiceProvider::alter in core/modules/migrate_drupal/src/MigrateDrupalServiceProvider.php
PackageManagerBypassServiceProvider::alter in core/modules/package_manager/tests/modules/package_manager_bypass/src/PackageManagerBypassServiceProvider.php

... See full list

File

core/lib/Drupal/Core/DependencyInjection/ServiceProviderBase.php, line 21

Class

ServiceProviderBase
Base service provider implementation.

Namespace

Drupal\Core\DependencyInjection

Code

public function alter(ContainerBuilder $container) {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.