public function LingotekFakeAccountConfigWrapper::save in Lingotek Translation 4.0.x
Saves the configuration object.
Must invalidate the cache tags associated with the configuration object.
Parameters
bool $has_trusted_data: Set to TRUE if the configuration data has already been checked to ensure it conforms to schema. Generally this is only used during module and theme installation.
Return value
$this
Overrides Config::save
See also
\Drupal\Core\Config\ConfigInstaller::createConfiguration()
File
- tests/
modules/ lingotek_test/ src/ LingotekFakeAccountConfigWrapper.php, line 162
Class
Namespace
Drupal\lingotek_testCode
public function save($has_trusted_data = FALSE) {
if (!$this->config instanceof ImmutableConfig) {
parent::save($has_trusted_data);
$this->config
->save($has_trusted_data);
}
return $this;
}