You are here

function currency_handler_field_currency::options_form in Currency 6

Same name and namespace in other branches
  1. 7 includes/views/handlers/currency_handler_field_currency.inc \currency_handler_field_currency::options_form()

File

views/handlers/currency_handler_field_currency.inc, line 26
Views field handler.

Class

currency_handler_field_currency
@file Views field handler.

Code

function options_form(&$form, &$form_state) {
  parent::options_form($form, $form_state);
  $form['display_code_only'] = array(
    '#title' => t('Display as currency code only'),
    '#description' => t('Hides the descriptive currency name.'),
    '#type' => 'checkbox',
    '#default_value' => !empty($this->options['display_code_only']),
  );
}