function ConfigFactoryInterface::addOverride

Same name in other branches
  1. 9 core/lib/Drupal/Core/Config/ConfigFactoryInterface.php \Drupal\Core\Config\ConfigFactoryInterface::addOverride()
  2. 8.9.x core/lib/Drupal/Core/Config/ConfigFactoryInterface.php \Drupal\Core\Config\ConfigFactoryInterface::addOverride()
  3. 10 core/lib/Drupal/Core/Config/ConfigFactoryInterface.php \Drupal\Core\Config\ConfigFactoryInterface::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).

1 method overrides ConfigFactoryInterface::addOverride()
ConfigFactory::addOverride in core/lib/Drupal/Core/Config/ConfigFactory.php
Adds config factory override services.

File

core/lib/Drupal/Core/Config/ConfigFactoryInterface.php, line 118

Class

ConfigFactoryInterface
Defines the interface for a configuration object factory.

Namespace

Drupal\Core\Config

Code

public function addOverride(ConfigFactoryOverrideInterface $config_factory_override);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.