function uc_order_handler_field_order_weight_total::options_form in Ubercart 7.3
Overrides views_handler::options_form().
Overrides uc_product_handler_field_weight::options_form
File
- uc_order/
views/ uc_order_handler_field_order_weight_total.inc, line 19 - Total weight field handler.
Class
- uc_order_handler_field_order_weight_total
- Field handler: displays a weight multiplied by the quantity.
Code
function options_form(&$form, &$form_state) {
parent::options_form($form, $form_state);
$form['weight_units'] = array(
'#type' => 'select',
'#title' => t('Unit of measurement'),
'#default_value' => $this->options['weight_units'],
'#options' => array(
'lb' => t('Pounds'),
'kg' => t('Kilograms'),
'oz' => t('Ounces'),
'g' => t('Grams'),
),
);
}