You are here

function CreatedYearMonth::title in Views (for Drupal 7) 8.3

Provide a link to the next level of the view

Overrides ArgumentPluginBase::title

File

lib/Views/node/Plugin/views/argument/CreatedYearMonth.php, line 44
Definition of Views\node\Plugin\views\argument\CreatedYearMonth.

Class

CreatedYearMonth
Argument handler for a year plus month (CCYYMM)

Namespace

Views\node\Plugin\views\argument

Code

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