You are here

public function views_handler_argument_group_by_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_group_by_numeric.inc, line 36
Definition of views_handler_argument_group_by_numeric.

Class

views_handler_argument_group_by_numeric
Simple handler for arguments using group by.

Code

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