function ServiceProviderBase::register

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/DependencyInjection/ServiceProviderBase.php \Drupal\Core\DependencyInjection\ServiceProviderBase::register()
  2. 10 core/lib/Drupal/Core/DependencyInjection/ServiceProviderBase.php \Drupal\Core\DependencyInjection\ServiceProviderBase::register()
  3. 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\DependencyInjection

Code

public function register(ContainerBuilder $container) {
}

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