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

Overrides ArgumentPluginBase::get_sort_name

File

drupal/core/modules/views/lib/Drupal/views/Plugin/views/argument/String.php, line 249
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

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