You are here

function mobile_tools_roles in Mobile Tools 7.2

Implementation of hook_menu

File

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

Code

function mobile_tools_roles() {
  $items['admin/config/system/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.inc',
  );
  return $items;
}