public EntityInterface::delete()
Deletes an entity permanently.
Throws
\Drupal\Core\Entity\EntityStorageException In case of failures an exception is thrown.
File
- core/lib/Drupal/Core/Entity/EntityInterface.php, line 289
Class
- EntityInterface
- Defines a common interface for all entity objects.
Namespace
Drupal\Core\Entity
Code
public function delete();
Please login to continue.