public function views_handler_argument_date::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_date.inc, line 114 - Definition of views_handler_argument_date.
Class
- views_handler_argument_date
- Abstract argument handler for dates.
Code
public function get_sort_name() {
return t('Date', array(), array(
'context' => 'Sort order',
));
}