function commerce_ups_commerce_shipping_service_name in Commerce UPS 7
Same name and namespace in other branches
- 7.2 commerce_ups.module \commerce_ups_commerce_shipping_service_name()
1 call to commerce_ups_commerce_shipping_service_name()
- commerce_ups_service_rate_order in ./
commerce_ups.module - Shipping service callback: returns a base price array for a shipping service calculated for the given order.
File
- ./
commerce_ups.module, line 192
Code
function commerce_ups_commerce_shipping_service_name($service_code) {
$service_names = _commerce_ups_service_list();
return $service_names[$service_code]['slug'];
}