function UserUid::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/
Views/ comment/ Plugin/ views/ argument/ UserUid.php, line 72 - Definition of Views\comment\Plugin\views\argument\UserUid.
Class
- UserUid
- Argument handler to accept a user id to check for nodes that user posted or commented on.
Namespace
Views\comment\Plugin\views\argumentCode
function get_sort_name() {
return t('Numerical', array(), array(
'context' => 'Sort order',
));
}