function YearMonthDate::title

Provide a link to the next level of the view

Overrides ArgumentPluginBase::title

File

drupal/core/modules/views/lib/Drupal/views/Plugin/views/argument/YearMonthDate.php, line 40
Contains \Drupal\views\Plugin\views\argument\YearMonthDate.

Class

YearMonthDate
Argument handler for a year plus month (CCYYMM)

Namespace

Drupal\views\Plugin\views\argument

Code

function title() {
  return format_date(strtotime($this->argument . "15" . " 00:00:00 UTC"), 'custom', $this->format, 'UTC');
}