function lti_tool_provider_consumer_add

cis7 lti_tool_provider.admin.inc lti_tool_provider_consumer_add()
cle7 lti_tool_provider.admin.inc lti_tool_provider_consumer_add()
elmsmedia7 lti_tool_provider.admin.inc lti_tool_provider_consumer_add()
icor7 lti_tool_provider.admin.inc lti_tool_provider_consumer_add()
meedjum_blog7 lti_tool_provider.admin.inc lti_tool_provider_consumer_add()
mooc7 lti_tool_provider.admin.inc lti_tool_provider_consumer_add()

Add a consumer.

Return value

array A consumer add form.

1 string reference to 'lti_tool_provider_consumer_add'
lti_tool_provider_menu in sites/all/modules/ulmus/lti_tool_provider/lti_tool_provider.module
Implements hook_menu().

File

sites/all/modules/ulmus/lti_tool_provider/lti_tool_provider.admin.inc, line 293
Admin forms for LTI Tool Provider module.

Code

function lti_tool_provider_consumer_add() {
  // Create a basic entity structure to be used and passed to the
  // validation and submission functions.
  $entity = entity_get_controller('lti_tool_provider_consumer')->create();
  return drupal_get_form('lti_tool_provider_consumer_form', $entity);
}