You are here

function uc_usps_menu in Ubercart 6.2

Same name and namespace in other branches
  1. 5 shipping/uc_usps/uc_usps.module \uc_usps_menu()
  2. 7.3 shipping/uc_usps/uc_usps.module \uc_usps_menu()

Implements hook_menu().

File

shipping/uc_usps/uc_usps.module, line 16
Shipping quote method module that receives quotes from the United States Postal Service via XML web service.

Code

function uc_usps_menu() {
  $items = array();
  $items['admin/store/settings/quotes/methods/usps'] = array(
    'title' => 'USPS',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'uc_usps_admin_settings',
    ),
    'access arguments' => array(
      'configure quotes',
    ),
    'type' => MENU_LOCAL_TASK,
    'file' => 'uc_usps.admin.inc',
  );
  return $items;
}