You are here

function commerce_price_decimals_formatter_handler_area_order_total_decimals::options_form in Commerce Price Decimals Formatter 7

Default options form that provides the label widget that all fields should have.

Overrides views_handler_area::options_form

File

includes/views/handlers/commerce_price_decimals_formatter_handler_area_order_total_decimals.inc, line 19
Defines an order total area handler that shows the order total field with its components listed in the footer of a View.

Class

commerce_price_decimals_formatter_handler_area_order_total_decimals
@file Defines an order total area handler that shows the order total field with its components listed in the footer of a View.

Code

function options_form(&$form, &$form_state) {
  parent::options_form($form, $form_state);
  $form['empty']['#description'] = t("Even if selected, this area handler will never render if a valid order cannot be found in the View's arguments.");
  $form = array_merge($form, commerce_price_decimals_formatter_get_settings_form($this->options));
}