You are here

public function Date::getSortName in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/views/src/Plugin/views/argument/Date.php \Drupal\views\Plugin\views\argument\Date::getSortName()
  2. 9 core/modules/views/src/Plugin/views/argument/Date.php \Drupal\views\Plugin\views\argument\Date::getSortName()

File

core/modules/views/src/Plugin/views/argument/Date.php, line 132

Class

Date
Argument handler for dates.

Namespace

Drupal\views\Plugin\views\argument

Code

public function getSortName() {
  return $this
    ->t('Date', [], [
    'context' => 'Sort order',
  ]);
}