public function EntityInterface::delete

Deletes an entity permanently.

Throws

Drupal\Core\Entity\EntityStorageException In case of failures an exception is thrown.

2 methods override EntityInterface::delete()
Entity::delete in drupal/core/lib/Drupal/Core/Entity/Entity.php
Implements EntityInterface::delete().
ViewUI::delete in drupal/core/modules/views/views_ui/lib/Drupal/views_ui/ViewUI.php
Implements \Drupal\Core\Entity\EntityInterface::delete().

File

drupal/core/lib/Drupal/Core/Entity/EntityInterface.php, line 146
Definition of Drupal\Core\Entity\EntityInterface.

Class

EntityInterface
Defines a common interface for all entity objects.

Namespace

Drupal\Core\Entity

Code

public function delete();