3 namespace Drupal\views\Plugin\views\argument;
6 * Argument handler for a week.
8 * @ViewsArgument("date_week")
10 class WeekDate extends Date {
15 protected $argFormat = 'W';
18 * Provide a link to the next level of the view
20 public function summaryName($data) {
21 $created = $data->{$this->name_alias};
22 return $this->t('Week @week', ['@week' => $created]);