Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. WeekDate.php

function 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 23

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,
    ]);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal