public function Numeric::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).

Overrides ArgumentPluginBase::getSortName

File

drupal/core/modules/views/lib/Drupal/views/Plugin/views/argument/Numeric.php, line 123
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\argument

Code

public function getSortName() {
  return t('Numerical', array(), array(
    'context' => 'Sort order',
  ));
}