function WeekDate::summaryName

Same name in other branches
  1. 8.9.x core/modules/views/src/Plugin/views/argument/WeekDate.php \Drupal\views\Plugin\views\argument\WeekDate::summaryName()
  2. 10 core/modules/views/src/Plugin/views/argument/WeekDate.php \Drupal\views\Plugin\views\argument\WeekDate::summaryName()
  3. 11.x core/modules/views/src/Plugin/views/argument/WeekDate.php \Drupal\views\Plugin\views\argument\WeekDate::summaryName()

Provide a link to the next level of the view.

Overrides ArgumentPluginBase::summaryName

File

core/modules/views/src/Plugin/views/argument/WeekDate.php, line 20

Class

WeekDate
Argument handler for a week.

Namespace

Drupal\views\Plugin\views\argument

Code

public function summaryName($data) {
    $created = $data->{$this->name_alias};
    return $this->t('Week @week', [
        '@week' => $created,
    ]);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.