You are here

public function Range::getSortName in Range 8

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::getSortName

File

src/Plugin/views/argument/Range.php, line 97

Class

Range
Range views argument.

Namespace

Drupal\range\Plugin\views\argument

Code

public function getSortName() {
  return $this
    ->t('Numerical', [], [
    'context' => 'Sort order',
  ]);
}