function biblio_handler_filter_biblio_keyword_kid::extra_options_form in Bibliography Module 7.2
Same name and namespace in other branches
- 6.2 views/biblio_handler_filter_biblio_keyword_kid.inc \biblio_handler_filter_biblio_keyword_kid::extra_options_form()
- 6 views/biblio_handler_filter_biblio_keyword_kid.inc \biblio_handler_filter_biblio_keyword_kid::extra_options_form()
- 7 views/biblio_handler_filter_biblio_keyword_kid.inc \biblio_handler_filter_biblio_keyword_kid::extra_options_form()
Provide a form for setting options.
Overrides views_handler::extra_options_form
File
- views/
biblio_handler_filter_biblio_keyword_kid.inc, line 23
Class
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'],
);
}
}