public function ViewUI::delete in Drupal 8
Same name and namespace in other branches
- 9 core/modules/views_ui/src/ViewUI.php \Drupal\views_ui\ViewUI::delete()
Deletes an entity permanently.
Throws
\Drupal\Core\Entity\EntityStorageException In case of failures an exception is thrown.
Overrides EntityInterface::delete
File
- core/
modules/ views_ui/ src/ ViewUI.php, line 986
Class
- ViewUI
- Stores UI related temporary settings.
Namespace
Drupal\views_uiCode
public function delete() {
return $this->storage
->delete();
}