function date_views_filter_handler::option_definition in Date 8
Same name and namespace in other branches
- 7.3 date_views/includes/date_views_filter_handler.inc \date_views_filter_handler::option_definition()
- 7 date_views/includes/date_views_filter_handler.inc \date_views_filter_handler::option_definition()
- 7.2 date_views/includes/date_views_filter_handler.inc \date_views_filter_handler::option_definition()
Overrides date_views_filter_handler_simple::option_definition
File
- date_views/
includes/ date_views_filter_handler.inc, line 23 - A flexible, configurable date filter. This filter combines multiple date filters into a single filter where all fields are controlled by the same date and can be combined with either AND or OR.
Class
- date_views_filter_handler
- @file A flexible, configurable date filter. This filter combines multiple date filters into a single filter where all fields are controlled by the same date and can be combined with either AND or OR.
Code
function option_definition() {
$options = parent::option_definition();
$options['date_fields'] = array(
'default' => array(),
);
$options['date_method'] = array(
'default' => 'OR',
);
$options['date_group'] = array(
'default' => 'date',
);
return $options;
}