public function EntityExampleBasicControllerInterface::delete in Examples for Developers 7
Delete an entity.
Parameters
object $entity: The entity to delete.
1 method overrides EntityExampleBasicControllerInterface::delete()
- EntityExampleBasicController::delete in entity_example/
entity_example.module - Delete a single entity.
File
- entity_example/
entity_example.module, line 527 - Implements the basic functionality required to create and display an entity.
Class
- EntityExampleBasicControllerInterface
- EntityExampleBasicControllerInterface definition.
Code
public function delete($entity);