You are here

public function ServiceProviderBase::register in Drupal 9

Same name and namespace in other branches
  1. 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\DependencyInjection

Code

public function register(ContainerBuilder $container) {
}