You are here

function basic_cart_handler_field_price::option_definition in Basic cart 7.3

Same name and namespace in other branches
  1. 7.2 views/basic_cart_handler_field_price.inc \basic_cart_handler_field_price::option_definition()

Overrides views_handler::option_definition().

Overrides views_handler_field_numeric::option_definition

File

views/basic_cart_handler_field_price.inc, line 16
Views handler: Product price field.

Class

basic_cart_handler_field_price
Returns a formatted price value to display in the View.

Code

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