You are here

function biblio_handler_filter_biblio_keyword_kid::extra_options_form in Bibliography Module 6.2

Same name and namespace in other branches
  1. 6 views/biblio_handler_filter_biblio_keyword_kid.inc \biblio_handler_filter_biblio_keyword_kid::extra_options_form()
  2. 7 views/biblio_handler_filter_biblio_keyword_kid.inc \biblio_handler_filter_biblio_keyword_kid::extra_options_form()
  3. 7.2 views/biblio_handler_filter_biblio_keyword_kid.inc \biblio_handler_filter_biblio_keyword_kid::extra_options_form()

File

views/biblio_handler_filter_biblio_keyword_kid.inc, line 26
Views biblio keyword kid handler for Drupal biblio module.

Class

biblio_handler_filter_biblio_keyword_kid
@file Views biblio keyword kid handler for Drupal biblio module.

Code

function extra_options_form(&$form, &$form_state) {
  if ($this->options['limit']) {

    // We only do this when the form is displayed so this query doesn't run
    // unnecessarily just when the object is constructed.
    $form['type'] = array(
      '#type' => 'radios',
      '#title' => t('Selection type'),
      '#options' => array(
        'select' => t('Dropdown'),
        'textfield' => t('Autocomplete'),
      ),
      '#default_value' => $this->options['type'],
    );
  }
}