function views_handler_argument_node_created_year_month::title
Provide a link to the next level of the view.
Overrides views_handler_argument::title
File
-
modules/
node/ views_handler_argument_dates_various.inc, line 85
Class
- views_handler_argument_node_created_year_month
- Argument handler for a year plus month (CCYYMM).
Code
public function title() {
$timestamp = strtotime($this->argument . "15" . " 00:00:00 UTC");
if ($timestamp !== FALSE) {
return format_date($timestamp, 'custom', $this->format, 'UTC');
}
}