function ConfigOverride::register

Same name in other branches
  1. 9 core/lib/Drupal/Core/Installer/ConfigOverride.php \Drupal\Core\Installer\ConfigOverride::register()
  2. 8.9.x core/lib/Drupal/Core/Installer/ConfigOverride.php \Drupal\Core\Installer\ConfigOverride::register()
  3. 11.x core/lib/Drupal/Core/Installer/ConfigOverride.php \Drupal\Core\Installer\ConfigOverride::register()

Overrides ServiceProviderInterface::register

File

core/lib/Drupal/Core/Installer/ConfigOverride.php, line 19

Class

ConfigOverride
Override configuration during the installer.

Namespace

Drupal\Core\Installer

Code

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.