1 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
- core/
modules/ views/ handlers/ views_handler_filter_boolean_operator.inc, line 150 - Definition of views_handler_filter_boolean_operator.
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_id'] = '';
$this->options['expose']['label'] = $this->value_value;
$this->options['expose']['required'] = TRUE;
}