protected function 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

Drupal\Core\Config\Config The configuration object.

5 calls to Config::resetOverriddenData()
Config::clear in drupal/core/lib/Drupal/Core/Config/Config.php
Unsets value in this config object.
Config::delete in drupal/core/lib/Drupal/Core/Config/Config.php
Deletes the configuration object.
Config::set in drupal/core/lib/Drupal/Core/Config/Config.php
Sets value in this config object.
Config::setData in drupal/core/lib/Drupal/Core/Config/Config.php
Replaces the data of this configuration object.
Config::setOverride in drupal/core/lib/Drupal/Core/Config/Config.php
Sets overridden data for this configuration object.

File

drupal/core/lib/Drupal/Core/Config/Config.php, line 229
Definition of Drupal\Core\Config\Config.

Class

Config
Defines the default configuration object.

Namespace

Drupal\Core\Config

Code

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