function StringArgument::getSortName

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

Overrides ArgumentPluginBase::getSortName

File

core/modules/views/src/Plugin/views/argument/StringArgument.php, line 278

Class

StringArgument
Argument handler for string.

Namespace

Drupal\views\Plugin\views\argument

Code

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

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