You are here

function CurrencyAmountViewsHandlerField::options_form in Currency 7.2

Overrides parent::options_form().

Overrides views_handler_field::options_form

File

currency/includes/CurrencyAmountViewsHandlerField.inc, line 78
Contains class CurrencyAmountViewsHandlerField.

Class

CurrencyAmountViewsHandlerField
A Views field handler for currency amounts.

Code

function options_form(&$form, &$form_state) {
  parent::options_form($form, $form_state);
  $form['currency_round'] = array(
    '#type' => 'checkbox',
    '#title' => t('Round amounts based on their currencies'),
    '#default_value' => $this->options['currency_round'],
  );
}