function date_views_argument_handler_simple::option_definition in Date 8
Same name and namespace in other branches
- 7.3 date_views/includes/date_views_argument_handler_simple.inc \date_views_argument_handler_simple::option_definition()
- 7.2 date_views/includes/date_views_argument_handler_simple.inc \date_views_argument_handler_simple::option_definition()
Default value for the date_fields option.
1 call to date_views_argument_handler_simple::option_definition()
- date_views_argument_handler::option_definition in date_views/
includes/ date_views_argument_handler.inc - Default value for the date_fields option.
1 method overrides date_views_argument_handler_simple::option_definition()
- date_views_argument_handler::option_definition in date_views/
includes/ date_views_argument_handler.inc - Default value for the date_fields option.
File
- date_views/
includes/ date_views_argument_handler_simple.inc, line 86 - Date API views argument handler.
Class
- date_views_argument_handler_simple
- Date API argument handler.
Code
function option_definition() {
$options = parent::option_definition();
$options['year_range'] = array(
'default' => '-3:+3',
);
$options['granularity'] = array(
'default' => 'month',
);
$options['default_argument_type'] = array(
'default' => 'date',
);
$options['add_delta'] = array(
'default' => '',
);
$options['use_fromto'] = array(
'default' => '',
);
$options['title_format'] = array(
'default' => '',
);
$options['title_format_custom'] = array(
'default' => '',
);
return $options;
}