Sets the current data for this configuration object.
Merges overridden configuration data into the original data.
Drupal\Core\Config\Config The configuration object.
protected function setOverriddenData() {
$this->overriddenData = $this->data;
$overrides = $this->context
->getOverrides($this
->getName());
if (is_array($overrides)) {
$this->overriddenData = NestedArray::mergeDeepArray(array(
$this->overriddenData,
$overrides,
), TRUE);
}
return $this;
}