public function LingotekFakeAccountConfigWrapper::clear in Lingotek Translation 4.0.x
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
- tests/
modules/ lingotek_test/ src/ LingotekFakeAccountConfigWrapper.php, line 174
Class
Namespace
Drupal\lingotek_testCode
public function clear($key) {
if (!$this->config instanceof ImmutableConfig) {
parent::clear($key);
$this->config
->clear($key);
}
return $this;
}