1 entity.class.inc public EntityInterface::delete()

Deletes an entity permanently.

Throws

EntityStorageException In case of failures an exception is thrown.

File

core/modules/entity/entity.class.inc, line 124
Provides an interface and a base class for entities.

Class

EntityInterface
Defines a common interface for all entity objects.

Code

public function delete();