1 entity_example.inc public EntityExampleBasicController::delete($entity)

Delete a single entity.

Really a convenience function for deleteMultiple().

Overrides EntityExampleBasicControllerInterface::delete

File

modules/examples/entity_example/entity_example.inc, line 177

Class

EntityExampleBasicController
EntityExampleBasicController extends BackdropDefaultEntityController.

Code

public function delete($entity) {
  $this->deleteMultiple(array($entity));
}