function ArgumentPluginBase::get_sort_name

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::get_sort_name()
ArgumentPluginBase::default_summary_form 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::get_sort_name()
Date::get_sort_name 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::get_sort_name 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::get_sort_name 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::get_sort_name 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::get_sort_name 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 1075
Definition of Drupal\views\Plugin\views\argument\ArgumentPluginBase.

Class

ArgumentPluginBase
Base class for arguments.

Namespace

Drupal\views\Plugin\views\argument

Code

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