public function views_handler_argument::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.
1 call to views_handler_argument::get_sort_name()
- views_handler_argument::default_summary_form in handlers/
views_handler_argument.inc - Form for selecting further summary options.
5 methods override views_handler_argument::get_sort_name()
- views_handler_argument_comment_user_uid::get_sort_name in modules/
comment/ views_handler_argument_comment_user_uid.inc - Return a description of how the argument would normally be sorted.
- views_handler_argument_date::get_sort_name in handlers/
views_handler_argument_date.inc - Return a description of how the argument would normally be sorted.
- views_handler_argument_group_by_numeric::get_sort_name in handlers/
views_handler_argument_group_by_numeric.inc - Return a description of how the argument would normally be sorted.
- views_handler_argument_numeric::get_sort_name in handlers/
views_handler_argument_numeric.inc - Return a description of how the argument would normally be sorted.
- views_handler_argument_string::get_sort_name in handlers/
views_handler_argument_string.inc - Return a description of how the argument would normally be sorted.
File
- handlers/
views_handler_argument.inc, line 1310 - Definition of views_handler_argument.
Class
- views_handler_argument
- Base class for arguments.
Code
public function get_sort_name() {
return t('Default sort', array(), array(
'context' => 'Sort order',
));
}