function entity_example_basic_delete

Use the controller to delete the entity.

Related topics

1 call to entity_example_basic_delete()
entity_example_basic_edit_delete in entity_example/entity_example.module
Form deletion handler.

File

entity_example/entity_example.module, line 491

Code

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