You are here

function String::get_sort_name in Views (for Drupal 7) 8.3

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

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',
  ));
}