function uc_order_handler_field_order_weight_total::option_definition in Ubercart 7.3
Overrides views_handler::option_definition().
Overrides uc_product_handler_field_weight::option_definition
File
- uc_order/
views/ uc_order_handler_field_order_weight_total.inc, line 13 - Total weight field handler.
Class
- uc_order_handler_field_order_weight_total
- Field handler: displays a weight multiplied by the quantity.
Code
function option_definition() {
$options = parent::option_definition();
$options['weight_units'] = array(
'default' => variable_get('uc_weight_unit', 'lb'),
);
return $options;
}