You are here

public function ConfigFactory::addOverride in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Config/ConfigFactory.php \Drupal\Core\Config\ConfigFactory::addOverride()

Adds config factory override services.

Parameters

\Drupal\Core\Config\ConfigFactoryOverrideInterface $config_factory_override: The config factory override service to add. It is added at the end of the priority list (lower priority relative to existing ones).

Overrides ConfigFactoryInterface::addOverride

File

core/lib/Drupal/Core/Config/ConfigFactory.php, line 382
Contains \Drupal\Core\Config\ConfigFactory.

Class

ConfigFactory
Defines the configuration object factory.

Namespace

Drupal\Core\Config

Code

public function addOverride(ConfigFactoryOverrideInterface $config_factory_override) {
  $this->configFactoryOverrides[] = $config_factory_override;
}