function sms_user_menu in SMS Framework 6.2
Same name and namespace in other branches
- 5 modules/sms_user/sms_user.module \sms_user_menu()
- 6 modules/sms_user/sms_user.module \sms_user_menu()
- 7 modules/sms_user/sms_user.module \sms_user_menu()
Implementation of hook_menu().
File
- modules/
sms_user/ sms_user.module, line 29 - Provides integration between the SMS Framework and Drupal users.
Code
function sms_user_menu() {
$items = array();
$items['admin/smsframework/sms_user'] = array(
'title' => 'SMS User',
'description' => 'Edit options for SMS and user integration.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'sms_user_admin_settings',
),
'access arguments' => array(
'administer sms',
),
'file' => 'sms_user.admin.inc',
);
$items['user/%user/edit/mobile'] = array(
'title' => 'Mobile',
'page callback' => 'sms_user_settings',
'page arguments' => array(
1,
),
'type' => MENU_LOCAL_TASK,
'access callback' => 'sms_user_edit_access',
'access arguments' => array(
1,
),
'tab_parent' => 'user/%/edit',
);
return $items;
}