You are here

public function views_handler_argument_string::get_sort_name in Views (for Drupal 7) 7.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).

Return value

string The label for the sorter.

Overrides views_handler_argument::get_sort_name

File

handlers/views_handler_argument_string.inc, line 257
Definition of views_handler_argument_string.

Class

views_handler_argument_string
Argument handler to implement string arguments that may have length limits.

Code

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