public function String::getSortName

Return a description of how the argument would normally be sorted.

Subclasses should override this to specify what the default sort order of their argument is (e.g. alphabetical, numeric, date).

Overrides ArgumentPluginBase::getSortName

File

drupal/core/modules/views/lib/Drupal/views/Plugin/views/argument/String.php, line 255
Definition of Drupal\views\Plugin\views\argument\String.

Class

String
Basic argument handler to implement string arguments that may have length limits.

Namespace

Drupal\views\Plugin\views\argument

Code

public function getSortName() {
  return t('Alphabetical', array(), array(
    'context' => 'Sort order',
  ));
}