public function BackgroundImageSettings::save in Background Image 8
Same name and namespace in other branches
- 2.x src/BackgroundImageSettings.php \Drupal\background_image\BackgroundImageSettings::save()
- 2.0.x src/BackgroundImageSettings.php \Drupal\background_image\BackgroundImageSettings::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 StorableConfigBase::save
See also
\Drupal\Core\Config\ConfigInstaller::createConfiguration()
File
- src/
BackgroundImageSettings.php, line 38
Class
Namespace
Drupal\background_imageCode
public function save($has_trusted_data = FALSE) {
throw new ImmutableConfigException("Can not save immutable configuration {$this->getName()}. This config is automatically handled by the \\Drupal\\background_image\\Entity\\BackgroundImage entity.");
}