You are here

function lti_tool_provider_consumer_add in LTI Tool Provider 7

Add a consumer.

Return value

array A consumer add form.

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

File

./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);
}