W3cubDocs

/Drupal 8

protected function Config::resetOverriddenData

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

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;
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Config!Config.php/function/Config::resetOverriddenData/8.1.x