public function WeekDate::summaryName in Drupal 10
Same name and namespace in other branches
- 8 core/modules/views/src/Plugin/views/argument/WeekDate.php \Drupal\views\Plugin\views\argument\WeekDate::summaryName()
- 9 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.
File
- core/
modules/ views/ src/ Plugin/ views/ argument/ WeekDate.php, line 20
Class
- WeekDate
- Argument handler for a week.
Namespace
Drupal\views\Plugin\views\argumentCode
public function summaryName($data) {
$created = $data->{$this->name_alias};
return $this
->t('Week @week', [
'@week' => $created,
]);
}