You are here

function rooms_booking_handler_unit_filter::extra_options_form in Rooms - Drupal Booking for Hotels, B&Bs and Vacation Rentals 7

Provide a form for setting options.

Overrides views_handler::extra_options_form

File

modules/rooms_booking/views/rooms_booking_handler_unit_filter.inc, line 24

Class

rooms_booking_handler_unit_filter
@file

Code

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'],
  );
}