Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Config.php

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

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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal