Config::setSettingsOverride

public Config::setSettingsOverride(array $data)

Sets settings.php overrides for this configuration object.

The overridden data only applies to this configuration object.

Parameters

array $data: The overridden values of the configuration data.

Return value

\Drupal\Core\Config\Config The configuration object.

File

core/lib/Drupal/Core/Config/Config.php, line 123

Class

Config
Defines the default configuration object.

Namespace

Drupal\Core\Config

Code

public function setSettingsOverride(array $data) {
  $this->settingsOverrides = $data;
  $this->resetOverriddenData();
  return $this;
}
doc_Drupal
2016-10-29 08:52:09
Comments
Leave a Comment

Please login to continue.