function lti_tool_provider_consumer_delete in LTI Tool Provider 7
Delete a consumer.
Parameters
object $entity: The consumer to be deleted.
2 calls to lti_tool_provider_consumer_delete()
- lti_tool_provider_consumer_confirm_delete_form_submit in ./
lti_tool_provider.admin.inc - Submit handler for the consumer form delete.
- lti_tool_provider_consumer_edit_delete in ./
lti_tool_provider.admin.inc - Edit or delete a consumer entity.
File
- ./
lti_tool_provider.module, line 407 - lti_tool_provider hook implementations and support functions.
Code
function lti_tool_provider_consumer_delete($entity) {
entity_get_controller('lti_tool_provider_consumer')
->delete($entity);
}