You are here

function uc_product_handler_field_weight::option_definition in Ubercart 7.3

Same name and namespace in other branches
  1. 6.2 uc_product/views/uc_product_handler_field_weight.inc \uc_product_handler_field_weight::option_definition()

Overrides views_handler::option_definition().

Overrides views_handler_field_numeric::option_definition

1 call to uc_product_handler_field_weight::option_definition()
uc_order_handler_field_order_weight_total::option_definition in uc_order/views/uc_order_handler_field_order_weight_total.inc
Overrides views_handler::option_definition().
1 method overrides uc_product_handler_field_weight::option_definition()
uc_order_handler_field_order_weight_total::option_definition in uc_order/views/uc_order_handler_field_order_weight_total.inc
Overrides views_handler::option_definition().

File

uc_product/views/uc_product_handler_field_weight.inc, line 16
Views handler: Product weight field.

Class

uc_product_handler_field_weight
Returns a formatted weight value to display in the View.

Code

function option_definition() {
  $options = parent::option_definition();
  $options['format'] = array(
    'default' => 'uc_weight',
  );
  return $options;
}