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 486 - Hook implementations for the Entity Example module.
Code
function entity_example_basic_delete($entity) {
entity_get_controller('entity_example_basic')->delete($entity);
}