You are here

function mobile_tools_roles_menu in Mobile Tools 6.3

Same name and namespace in other branches
  1. 6.2 modules/mobile_tools_roles/mobile_tools_roles.module \mobile_tools_roles_menu()

Implementation of hook_menu

File

./mobile_tools_roles.module, line 30
Contains the functionality to add mobile user roles

Code

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