function Config::resetOverriddenData

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Core/Config/Config.php \Drupal\Core\Config\Config::resetOverriddenData()

Resets the current data, so overrides are re-applied.

This method should be called after the original data or the overridden data has been changed.

Return value

$this The configuration object.

File

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

Class

Config
Defines the default configuration object.

Namespace

Drupal\Core\Config

Code

protected function resetOverriddenData() {
  unset($this->overriddenData);
  return $this;
}

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