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