function EntityExampleBasicControllerInterface::delete

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

Class

EntityExampleBasicControllerInterface
EntityExampleBasicControllerInterface definition.

Code

public function delete($entity);