function views_handler_filter_boolean_operator::expose_options in Views (for Drupal 7) 6.2
Same name and namespace in other branches
- 6.3 handlers/views_handler_filter_boolean_operator.inc \views_handler_filter_boolean_operator::expose_options()
- 7.3 handlers/views_handler_filter_boolean_operator.inc \views_handler_filter_boolean_operator::expose_options()
Provide default options for exposed filters.
Overrides views_handler_filter::expose_options
File
- handlers/
views_handler_filter_boolean_operator.inc, line 131
Class
- views_handler_filter_boolean_operator
- Simple filter to handle matching of boolean values
Code
function expose_options() {
parent::expose_options();
$this->options['expose']['operator'] = '';
$this->options['expose']['label'] = $this->value_value;
$this->options['expose']['optional'] = FALSE;
}