public function range_handler_argument_numeric_range::get_sort_name in Range 7
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
- views/
range_handler_argument_numeric_range.inc, line 97 - Contains argument handler for numeric range arguments with views.
Class
- range_handler_argument_numeric_range
- Argument handler for limiting a view to entities which lies within a range.
Code
public function get_sort_name() {
return t('Numerical', array(), array(
'context' => 'Sort order',
));
}