function Date::get_sort_name in Views (for Drupal 7) 8.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).
Overrides ArgumentPluginBase::get_sort_name
File
- lib/
Drupal/ views/ Plugin/ views/ argument/ Date.php, line 82 - Definition of Drupal\views\Plugin\views\argument\Date.
Class
- Date
- Abstract argument handler for dates.
Namespace
Drupal\views\Plugin\views\argumentCode
function get_sort_name() {
return t('Date', array(), array(
'context' => 'Sort order',
));
}