function uc_ups_uc_shipping_type in Ubercart 7.3
Same name and namespace in other branches
- 8.4 shipping/uc_ups/uc_ups.module \uc_ups_uc_shipping_type()
Implements hook_uc_shipping_type().
File
- shipping/
uc_ups/ uc_ups.module, line 236 - UPS shipping quote module.
Code
function uc_ups_uc_shipping_type() {
$weight = variable_get('uc_quote_type_weight', array(
'small_package' => 0,
));
$types = array();
$types['small_package'] = array(
'id' => 'small_package',
'title' => t('Small packages'),
'weight' => $weight['small_package'],
);
return $types;
}