function ArgumentPluginBase::getSortName
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).
1 call to ArgumentPluginBase::getSortName()
- ArgumentPluginBase::defaultSummaryForm in core/modules/ views/ src/ Plugin/ views/ argument/ ArgumentPluginBase.php 
- Provides a form for selecting summary options.
5 methods override ArgumentPluginBase::getSortName()
- Date::getSortName in core/modules/ views/ src/ Plugin/ views/ argument/ Date.php 
- Return a description of how the argument would normally be sorted.
- GroupByNumeric::getSortName in core/modules/ views/ src/ Plugin/ views/ argument/ GroupByNumeric.php 
- Return a description of how the argument would normally be sorted.
- NumericArgument::getSortName in core/modules/ views/ src/ Plugin/ views/ argument/ NumericArgument.php 
- Return a description of how the argument would normally be sorted.
- StringArgument::getSortName in core/modules/ views/ src/ Plugin/ views/ argument/ StringArgument.php 
- Return a description of how the argument would normally be sorted.
- UserUid::getSortName in core/modules/ comment/ src/ Plugin/ views/ argument/ UserUid.php 
- Return a description of how the argument would normally be sorted.
File
- 
              core/modules/ views/ src/ Plugin/ views/ argument/ ArgumentPluginBase.php, line 1193 
Class
- ArgumentPluginBase
- Base class for argument (contextual filter) handler plugins.
Namespace
Drupal\views\Plugin\views\argumentCode
public function getSortName() {
  return $this->t('Default sort', [], [
    'context' => 'Sort order',
  ]);
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
