function sms_sendtophone_menu in SMS Framework 7
Same name and namespace in other branches
- 5 modules/sms_sendtophone/sms_sendtophone.module \sms_sendtophone_menu()
- 6.2 modules/sms_sendtophone/sms_sendtophone.module \sms_sendtophone_menu()
- 6 modules/sms_sendtophone/sms_sendtophone.module \sms_sendtophone_menu()
Implements hook_menu().
File
- modules/
sms_sendtophone/ sms_sendtophone.module, line 11 - Provides various tools for sending bits of information via SMS.
Code
function sms_sendtophone_menu() {
$items = array();
$items['sms/sendtophone/%'] = array(
'title' => 'Send to phone',
'page callback' => 'sms_sendtophone_page',
'page arguments' => array(
2,
),
'access arguments' => array(
'access content',
),
'type' => MENU_CALLBACK,
);
$items['admin/smsframework/sendtophone'] = array(
'title' => 'Send to phone',
'description' => 'Configure send to phone functionality.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'sms_sendtophone_admin_overview',
),
'access arguments' => array(
'administer smsframework',
),
);
return $items;
}