function UserUid::getSortName

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

Overrides ArgumentPluginBase::getSortName

File

core/modules/comment/src/Plugin/views/argument/UserUid.php, line 105

Class

UserUid
Argument handler to accept a user id to check for nodes that user posted or commented on.

Namespace

Drupal\comment\Plugin\views\argument

Code

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

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