public function LingotekFakeConfigWrapper::save in Lingotek Translation 3.5.x
Same name and namespace in other branches
- 3.3.x tests/modules/lingotek_test/src/LingotekFakeConfigWrapper.php \Drupal\lingotek_test\LingotekFakeConfigWrapper::save()
- 3.4.x tests/modules/lingotek_test/src/LingotekFakeConfigWrapper.php \Drupal\lingotek_test\LingotekFakeConfigWrapper::save()
- 3.6.x tests/modules/lingotek_test/src/LingotekFakeConfigWrapper.php \Drupal\lingotek_test\LingotekFakeConfigWrapper::save()
- 3.7.x tests/modules/lingotek_test/src/LingotekFakeConfigWrapper.php \Drupal\lingotek_test\LingotekFakeConfigWrapper::save()
- 3.8.x tests/modules/lingotek_test/src/LingotekFakeConfigWrapper.php \Drupal\lingotek_test\LingotekFakeConfigWrapper::save()
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/ LingotekFakeConfigWrapper.php, line 163
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;
}