public function Config::clear in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Config/Config.php \Drupal\Core\Config\Config::clear()
Unsets a value in this configuration object.
Parameters
string $key: Name of the key whose value should be unset.
Return value
$this The configuration object.
Overrides ConfigBase::clear
1 method overrides Config::clear()
- ImmutableConfig::clear in core/
lib/ Drupal/ Core/ Config/ ImmutableConfig.php - Unsets a value in this configuration object.
File
- core/
lib/ Drupal/ Core/ Config/ Config.php, line 197 - Contains \Drupal\Core\Config\Config.
Class
- Config
- Defines the default configuration object.
Namespace
Drupal\Core\ConfigCode
public function clear($key) {
parent::clear($key);
$this
->resetOverriddenData();
return $this;
}