function Numeric::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/ Numeric.php, line 122 - Definition of Drupal\views\Plugin\views\argument\Numeric.
Class
- Numeric
- Basic argument handler for arguments that are numeric. Incorporates break_phrase.
Namespace
Drupal\views\Plugin\views\argumentCode
function get_sort_name() {
return t('Numerical', array(), array(
'context' => 'Sort order',
));
}