You are here

public function LTIToolProviderMembershipsEntityController::delete in LTI Tool Provider 7

Delete a memberships entity.

Parameters

object $entity: The memberships etity to be deleted.

Overrides LTIToolProviderMembershipsEntityControllerInterface::delete

File

lti_tool_provider_memberships/LTIToolProviderMembershipsEntityController.class.php, line 86
Contains LTIToolProviderMembershipsEntityController.

Class

LTIToolProviderMembershipsEntityController
Memberships Entity controller.

Code

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