You are here

function sms_track_menu in SMS Framework 7

Same name and namespace in other branches
  1. 6.2 modules/sms_track/sms_track.module \sms_track_menu()
  2. 6 modules/sms_track/sms_track.module \sms_track_menu()

Implements hook_menu().

File

modules/sms_track/sms_track.module, line 78
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',
    'page callback' => 'sms_track_admin_view',
    'access arguments' => array(
      'administer smsframework',
    ),
    'type' => MENU_LOCAL_TASK,
    'weight' => 1,
    'file' => 'sms_track.admin.inc',
  );
  return $items;
}