You are here

public function Config::clear in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Config/Config.php \Drupal\Core\Config\Config::clear()
  2. 9 core/lib/Drupal/Core/Config/Config.php \Drupal\Core\Config\Config::clear()

File

core/lib/Drupal/Core/Config/Config.php, line 192

Class

Config
Defines the default configuration object.

Namespace

Drupal\Core\Config

Code

public function clear($key) {
  parent::clear($key);
  $this
    ->resetOverriddenData();
  return $this;
}