You are here

public function ImmutableMarkdownConfig::clear in Markdown 8.2

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 Config::clear

File

src/Config/ImmutableMarkdownConfig.php, line 26

Class

ImmutableMarkdownConfig
Immutable Markdown Config.

Namespace

Drupal\markdown\Config

Code

public function clear($key) {
  throw new ImmutableConfigException("Can not clear {$key} key in immutable configuration {$this->getName()}. Use \\Drupal\\Core\\Config\\ConfigFactoryInterface::getEditable() to retrieve a mutable configuration object");
}