function 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');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.