public function ViewUI::delete in Drupal 10
Same name and namespace in other branches
- 8 core/modules/views_ui/src/ViewUI.php \Drupal\views_ui\ViewUI::delete()
- 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 983
Class
- ViewUI
- Stores UI related temporary settings.
Namespace
Drupal\views_uiCode
public function delete() {
return $this->storage
->delete();
}