You are here

function commerce_fedex_menu in Commerce FedEx 7

Implements hook_menu().

File

./commerce_fedex.module, line 11
Defines the FedEx shipping method and services for Drupal Commerce.

Code

function commerce_fedex_menu() {
  $items = array();
  $items['admin/commerce/config/shipping/methods/fedex/edit'] = array(
    'title' => 'Edit',
    'description' => 'Adjust FedEx shipping settings.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'commerce_fedex_settings_form',
    ),
    'access arguments' => array(
      'administer shipping',
    ),
    'file' => 'includes/commerce_fedex.admin.inc',
    'type' => MENU_LOCAL_TASK,
    'context' => MENU_CONTEXT_INLINE,
    'weight' => 0,
  );
  return $items;
}