public function LTIToolProviderMembershipsContextEntityController::delete in LTI Tool Provider 7
Delete a memberships context entity.
Parameters
object $entity: The memberships context to be deleted.
Overrides LTIToolProviderMembershipsContextEntityControllerInterface::delete
File
- lti_tool_provider_memberships/
LTIToolProviderMembershipsContextEntityController.class.php, line 76 - Contains LTIToolProviderMembershipsContextEntityController.
Class
- LTIToolProviderMembershipsContextEntityController
- Memberships Context Entity controller.
Code
public function delete($entity) {
$this
->delete_multiple(array(
$entity,
));
}