public function ArgumentPluginBase::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).

1 call to ArgumentPluginBase::getSortName()
ArgumentPluginBase::defaultSummaryForm in drupal/core/modules/views/lib/Drupal/views/Plugin/views/argument/ArgumentPluginBase.php
Provide a form for selecting further summary options when the default action is set to display one.
5 methods override ArgumentPluginBase::getSortName()
Date::getSortName in drupal/core/modules/views/lib/Drupal/views/Plugin/views/argument/Date.php
Return a description of how the argument would normally be sorted.
GroupByNumeric::getSortName in drupal/core/modules/views/lib/Drupal/views/Plugin/views/argument/GroupByNumeric.php
Return a description of how the argument would normally be sorted.
Numeric::getSortName in drupal/core/modules/views/lib/Drupal/views/Plugin/views/argument/Numeric.php
Return a description of how the argument would normally be sorted.
String::getSortName in drupal/core/modules/views/lib/Drupal/views/Plugin/views/argument/String.php
Return a description of how the argument would normally be sorted.
UserUid::getSortName in drupal/core/modules/comment/lib/Drupal/comment/Plugin/views/argument/UserUid.php
Return a description of how the argument would normally be sorted.

File

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

Class

ArgumentPluginBase
Base class for arguments.

Namespace

Drupal\views\Plugin\views\argument

Code

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