public function BackgroundImageSettings::delete in Background Image 8
Same name and namespace in other branches
- 2.x src/BackgroundImageSettings.php \Drupal\background_image\BackgroundImageSettings::delete()
- 2.0.x src/BackgroundImageSettings.php \Drupal\background_image\BackgroundImageSettings::delete()
Deletes the configuration object.
Must invalidate the cache tags associated with the configuration object.
Return value
$this
Overrides StorableConfigBase::delete
File
- src/
BackgroundImageSettings.php, line 31
Class
Namespace
Drupal\background_imageCode
public function delete() {
throw new ImmutableConfigException("Can not delete immutable configuration {$this->getName()}. This config is automatically stored in the \\Drupal\\background_image\\Entity\\BackgroundImage entity.");
}