You are here

public function ConfigOverride::register in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Installer/ConfigOverride.php \Drupal\Core\Installer\ConfigOverride::register()
  2. 9 core/lib/Drupal/Core/Installer/ConfigOverride.php \Drupal\Core\Installer\ConfigOverride::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');
}