public function views_handler_argument_comment_user_uid::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
- modules/
comment/ views_handler_argument_comment_user_uid.inc, line 71 - Definition of views_handler_argument_comment_user_uid.
Class
- views_handler_argument_comment_user_uid
- Argument handler to accept a user id to check for nodes that user posted or commented on.
Code
public function get_sort_name() {
return t('Numerical', array(), array(
'context' => 'Sort order',
));
}