You are here

public function location_handler_filter_location_province::extra_options_form in Location 7.3

Provide a form for setting options.

Overrides views_handler::extra_options_form

File

handlers/location_handler_filter_location_province.inc, line 42
Filter on province.

Class

location_handler_filter_location_province

Code

public function extra_options_form(&$form, &$form_state) {
  $form['type'] = array(
    '#type' => 'radios',
    '#title' => t('Selection type'),
    '#options' => array(
      'select' => t('Dropdown'),
      'textfield' => t('Autocomplete'),
    ),
    '#default_value' => $this->options['type'],
  );
}