public function LanguageHierarchyConfigOverride::delete in Language Hierarchy 8
Same name and namespace in other branches
- 2.x src/Config/LanguageHierarchyConfigOverride.php \Drupal\language_hierarchy\Config\LanguageHierarchyConfigOverride::delete()
Deletes the configuration object.
Must invalidate the cache tags associated with the configuration object.
Return value
$this
Overrides LanguageConfigOverride::delete
File
- src/
Config/ LanguageHierarchyConfigOverride.php, line 74
Class
- LanguageHierarchyConfigOverride
- Defines language configuration overrides.
Namespace
Drupal\language_hierarchy\ConfigCode
public function delete() {
// Swap storage used by the delete method.
$source_storage = $this->storage;
$this->storage = $this->target_storage;
parent::delete();
// Restore source storage.
$this->storage = $source_storage;
return $this;
}