function date_views_argument_handler::title in Date 7
Provide a link to the next level of the view from the argument.
Overrides views_handler_argument::title
File
- date_views/
includes/ date_views_argument_handler.inc, line 214 - Date API views argument handler.
Class
- date_views_argument_handler
- Date API argument handler.
Code
function title() {
$format = $this->date_handler
->views_formats($this->options['granularity'], 'display');
$range = $this->date_handler
->arg_range($this->argument);
return date_format_date($range[0], 'custom', $format);
}