function date_api_argument_handler::summary_name in Date 6.2
Same name and namespace in other branches
- 6 date_api.views.inc \date_api_argument_handler::summary_name()
Provide a link to the next level of the view from the summary.
File
- includes/
date_api_argument_handler.inc, line 204 - Views argument handler.
Class
- date_api_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);
}