uc_shipping_order_access

  1. drupal
    1. 6 uc_shipping.module function
    2. 7 uc_shipping.module function
Drupal 7 uc_shipping_order_access($order)

Ensures access to the Shipments tab.

1 call to uc_shipping_order_access()

1 string reference to 'uc_shipping_order_access'

File

sites/all/modules/ubercart/shipping/uc_shipping/uc_shipping.module, line 162
Organizes ordered products into packages and sets them up for shipment. Shipping method modules may add functionality to generate shipping labels and tracking numbers.

Code

function uc_shipping_order_access($order) {
  return user_access('fulfill orders') && uc_order_is_shippable($order);
}