public function LingotekFakeAccountConfigWrapper::set in Lingotek Translation 4.0.x
Sets a value in this configuration object.
Parameters
string $key: Identifier to store value in configuration.
mixed $value: Value to associate with identifier.
Return value
$this The configuration object.
Throws
\Drupal\Core\Config\ConfigValueException If $value is an array and any of its keys in any depth contains a dot.
Overrides Config::set
File
- tests/
modules/ lingotek_test/ src/ LingotekFakeAccountConfigWrapper.php, line 154
Class
Namespace
Drupal\lingotek_testCode
public function set($key, $value) {
if (!$this->config instanceof ImmutableConfig) {
parent::set($key, $value);
$this->config
->set($key, $value);
}
return $this;
}