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