You are here

protected function Config::resetOverriddenData in Drupal 9

Same name and namespace in other branches
  1. 8 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.

8 calls to Config::resetOverriddenData()
Config::clear in core/lib/Drupal/Core/Config/Config.php
Unsets a value in this configuration object.
Config::delete in core/lib/Drupal/Core/Config/Config.php
Deletes the configuration object.
Config::initWithData in core/lib/Drupal/Core/Config/Config.php
Initializes a configuration object with pre-loaded data.
Config::save in core/lib/Drupal/Core/Config/Config.php
Saves the configuration object.
Config::set in core/lib/Drupal/Core/Config/Config.php
Sets a value in this configuration object.

... See full list

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