function sms_track_menu in SMS Framework 6
Same name and namespace in other branches
- 6.2 modules/sms_track/sms_track.module \sms_track_menu()
- 7 modules/sms_track/sms_track.module \sms_track_menu()
Implement hook_menu()
Return value
Drupal menu items array
File
- modules/
sms_track/ sms_track.module, line 74 - Message tracking feature module for Drupal SMS Framework.
Code
function sms_track_menu() {
$items = array();
$items['admin/smsframework/sms_track'] = array(
'title' => 'Message tracking',
'description' => 'Options and view for the message archive.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'sms_track_settings_form',
),
'access arguments' => array(
'administer smsframework',
),
'file' => 'sms_track.admin.inc',
);
$items['admin/smsframework/sms_track/settings'] = array(
'title' => 'Settings',
'type' => MENU_DEFAULT_LOCAL_TASK,
'weight' => 0,
);
$items['admin/smsframework/sms_track/view'] = array(
'title' => 'View the archive',
'file' => 'sms_track.admin.inc',
'page callback' => 'sms_track_admin_view',
'access arguments' => array(
'administer smsframework',
),
'type' => MENU_LOCAL_TASK,
'weight' => 1,
'file' => 'sms_track.admin.inc',
);
return $items;
}