public function range_handler_filter_numeric_range::options_form in Range 7
Provide the basic form which calls through to subforms.
If overridden, it is best to call through to the parent, or to at least make sure all of the functions in this form are called.
Overrides views_handler_filter::options_form
File
- views/
range_handler_filter_numeric_range.inc, line 65 - Contains filter handlers for numeric range filters with views.
Class
- range_handler_filter_numeric_range
- Filter handler for limiting a view to entities which lies within a range.
Code
public function options_form(&$form, &$form_state) {
parent::options_form($form, $form_state);
$form['include_endpoints'] = array(
'#type' => 'checkbox',
'#title' => t('Include endpoints'),
'#default_value' => $this->options['include_endpoints'],
'#description' => t('Whether or not include endpoints into the query.'),
);
}