function lti_tool_provider_consumer_uri in LTI Tool Provider 7
Get the url to view a consumer.
Parameters
object $consumer: A consumer object.
Return value
string The url for the consumer view.
1 string reference to 'lti_tool_provider_consumer_uri'
- lti_tool_provider_entity_info in ./
lti_tool_provider.module - Implements hook_entity_info().
File
- ./
lti_tool_provider.module, line 608 - lti_tool_provider hook implementations and support functions.
Code
function lti_tool_provider_consumer_uri($consumer) {
return array(
'path' => 'lti_tool_provider_consumer/' . $consumer->id,
);
}