You are here

function lti_tool_provider_install in LTI Tool Provider 7

Implements hook_install().

File

./lti_tool_provider.install, line 71
Install, update, and uninstall functions for the LTI Tool Provider module.

Code

function lti_tool_provider_install() {
  variable_set('lti_tool_provider_global_role_array', array(
    'Learner' => 1,
    'Instructor' => 1,
    'ContentDeveloper' => 1,
    'Member' => 1,
    'Manager' => 1,
    'Mentor' => 1,
    'Administrator' => 1,
    'TeachingAssistant' => 1,
  ));
  variable_set('lti_tool_provider_user_attribute_mapping', array(
    'lis_person_name_given' => 'none',
    'lis_person_name_family' => 'none',
    'lis_person_name_full' => 'none',
  ));
}