You are here

public function views_handler_argument_numeric::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_numeric.inc, line 131
Definition of views_handler_argument_numeric.

Class

views_handler_argument_numeric
Basic argument handler for arguments that are numeric.

Code

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