function Config::resetOverriddenData
Same name in other branches
- 9 core/lib/Drupal/Core/Config/Config.php \Drupal\Core\Config\Config::resetOverriddenData()
- 8.9.x core/lib/Drupal/Core/Config/Config.php \Drupal\Core\Config\Config::resetOverriddenData()
- 10 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.
File
-
core/
lib/ Drupal/ Core/ Config/ Config.php, line 175
Class
- Config
- Defines the default configuration object.
Namespace
Drupal\Core\ConfigCode
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.