You are here

function lti_tool_provider_consumer_save in LTI Tool Provider 7

Save a consumer.

Parameters

object $entity: The consumer to be saved.

1 call to lti_tool_provider_consumer_save()
lti_tool_provider_consumer_form_submit in ./lti_tool_provider.admin.inc
Update or create a consumer entity.

File

./lti_tool_provider.module, line 397
lti_tool_provider hook implementations and support functions.

Code

function lti_tool_provider_consumer_save(&$entity) {
  return entity_get_controller('lti_tool_provider_consumer')
    ->save($entity);
}