abstract class ServiceProviderBase in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/DependencyInjection/ServiceProviderBase.php \Drupal\Core\DependencyInjection\ServiceProviderBase
Base service provider implementation.
Hierarchy
- class \Drupal\Core\DependencyInjection\ServiceProviderBase implements ServiceModifierInterface, ServiceProviderInterface
Expanded class hierarchy of ServiceProviderBase
Related topics
5 files declare their use of ServiceProviderBase
- InlineFormErrorsServiceProvider.php in core/
modules/ inline_form_errors/ src/ InlineFormErrorsServiceProvider.php - LanguageServiceProvider.php in core/
modules/ language/ src/ LanguageServiceProvider.php - MediaTestOembedServiceProvider.php in core/
modules/ media/ tests/ modules/ media_test_oembed/ src/ MediaTestOembedServiceProvider.php - MigrateDrupalServiceProvider.php in core/
modules/ migrate_drupal/ src/ MigrateDrupalServiceProvider.php - WorkspacesServiceProvider.php in core/
modules/ workspaces/ src/ WorkspacesServiceProvider.php
File
- core/
lib/ Drupal/ Core/ DependencyInjection/ ServiceProviderBase.php, line 10
Namespace
Drupal\Core\DependencyInjectionView source
abstract class ServiceProviderBase implements ServiceProviderInterface, ServiceModifierInterface {
/**
* {@inheritdoc}
*/
public function register(ContainerBuilder $container) {
}
/**
* {@inheritdoc}
*/
public function alter(ContainerBuilder $container) {
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ServiceProviderBase:: |
public | function |
Modifies existing service definitions. Overrides ServiceModifierInterface:: |
5 |
ServiceProviderBase:: |
public | function |
Registers services to the container. Overrides ServiceProviderInterface:: |
1 |