You are here

function mobile_tools_roles_menu in Mobile Tools 6.2

Same name and namespace in other branches
  1. 6.3 mobile_tools_roles.module \mobile_tools_roles_menu()

Implementation of hook_menu().

File

modules/mobile_tools_roles/mobile_tools_roles.module, line 11
Primarily Drupal hooks.

Code

function mobile_tools_roles_menu() {
  $items['admin/settings/mobile-tools/roles'] = array(
    'title' => 'Mobile roles',
    'description' => 'Configure mobile versions of existing user roles.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'mobile_tools_roles_configuration_form',
    ),
    'access arguments' => array(
      'configure Mobile Tools',
    ),
    'type' => MENU_LOCAL_TASK,
    'file' => 'mobile_tools_roles.admin.inc',
  );
  return $items;
}