1 entity_example.module entity_example_basic_delete($entity)

Use the controller to delete the entity.

Related topics

File

modules/examples/entity_example/entity_example.module, line 484
Implements the basic functionality required to create and display an entity.

Code

function entity_example_basic_delete($entity) {
  entity_get_controller('entity_example_basic')->delete($entity);
}