You are here

public function Config::set in Drupal 10

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

File

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

Class

Config
Defines the default configuration object.

Namespace

Drupal\Core\Config

Code

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