You are here

public function views_handler_argument_field_list::options_form in Views (for Drupal 7) 7.3

Build the options form.

Overrides views_handler_argument_numeric::options_form

File

modules/field/views_handler_argument_field_list.inc, line 45
Definition of views_handler_argument_field_list.

Class

views_handler_argument_field_list
Argument handler for list field to show the human readable name in the summary.

Code

public function options_form(&$form, &$form_state) {
  parent::options_form($form, $form_state);
  $form['summary']['human'] = array(
    '#title' => t('Display list value as human readable'),
    '#type' => 'checkbox',
    '#default_value' => $this->options['summary']['human'],
    '#dependency' => array(
      'radio:options[default_action]' => array(
        'summary',
      ),
    ),
  );
}