public function ServiceProviderBase::register in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/DependencyInjection/ServiceProviderBase.php \Drupal\Core\DependencyInjection\ServiceProviderBase::register()
Registers services to the container.
Parameters
ContainerBuilder $container: The ContainerBuilder to register services to.
Overrides ServiceProviderInterface::register
1 method overrides ServiceProviderBase::register()
- LanguageServiceProvider::register in core/
modules/ language/ src/ LanguageServiceProvider.php - Registers services to the container.
File
- core/
lib/ Drupal/ Core/ DependencyInjection/ ServiceProviderBase.php, line 15
Class
- ServiceProviderBase
- Base service provider implementation.
Namespace
Drupal\Core\DependencyInjectionCode
public function register(ContainerBuilder $container) {
}