function CreatedWeek::summary_name

Provide a link to the next level of the view

Overrides ArgumentPluginBase::summary_name

File

drupal/core/modules/node/lib/Drupal/node/Plugin/views/argument/CreatedWeek.php, line 35
Definition of Drupal\node\Plugin\views\argument\CreatedWeek.

Class

CreatedWeek
Argument handler for a week.

Namespace

Drupal\node\Plugin\views\argument

Code

function summary_name($data) {
  $created = $data->{$this->name_alias};
  return t('Week @week', array(
    '@week' => $created,
  ));
}