public function ConfigOverride::register in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Installer/ConfigOverride.php \Drupal\Core\Installer\ConfigOverride::register()
Registers services to the container.
Parameters
ContainerBuilder $container: The ContainerBuilder to register services to.
Overrides ServiceProviderInterface::register
File
- core/
lib/ Drupal/ Core/ Installer/ ConfigOverride.php, line 19
Class
- ConfigOverride
- Override configuration during the installer.
Namespace
Drupal\Core\InstallerCode
public function register(ContainerBuilder $container) {
// Register this class so that it can override configuration.
$container
->register('core.install_config_override', static::class)
->addTag('config.factory.override');
}