1.20.x views_handler_filter.inc views_handler_filter::expose_options()

Provide default options for exposed filters.

Overrides views_handler::expose_options

File

modules/views/handlers/views_handler_filter.inc, line 681
@todo.

Class

views_handler_filter
Base class for filters.

Code

function expose_options() {
  $this->options['expose'] = array(
    'use_operator' => FALSE,
    'operator' => $this->options['id'] . '_op',
    'identifier' => $this->options['id'],
    'label' => $this->definition['title'],
    'description' => NULL,
    'remember' => FALSE,
    'multiple' => FALSE,
    'required' => FALSE,
  );
}