You are here

function sms_receive_menu in SMS Framework 5

File

modules/sms_receive/sms_receive.module, line 3

Code

function sms_receive_menu() {
  $items[] = array(
    'path' => 'admin/smsframework/receive',
    'title' => t('Receive'),
    'description' => t('Setting for the SMS receive module.'),
    'access' => user_access('administer smsframework'),
    'callback' => 'drupal_get_form',
    'callback arguments' => array(
      'sms_receive_admin_form',
    ),
  );
  $items[] = array(
    'path' => variable_get('sms_receive_path', 'sms/in'),
    'title' => t('SMS Receive'),
    'access' => user_access('receive sms message'),
    'callback' => 'sms_receive_receive',
    'type' => MENU_CALLBACK,
  );
  return $items;
}