function commerce_ups_menu in Commerce UPS 7
Same name and namespace in other branches
- 7.2 commerce_ups.module \commerce_ups_menu()
File
- ./
commerce_ups.module, line 10
Code
function commerce_ups_menu() {
$items = array();
$items['admin/commerce/config/shipping/methods/ups/edit'] = array(
'title' => 'Edit',
'description' => 'Configure the UPS shipping method.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'commerce_ups_settings_form',
),
'access arguments' => array(
'administer shipping',
),
'file' => 'commerce_ups.admin.inc',
'type' => MENU_LOCAL_TASK,
'context' => MENU_CONTEXT_INLINE,
'weight' => 0,
);
return $items;
}