public function Date::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/Date.php, line 93
Definition of Drupal\views\Plugin\views\argument\Date.

Class

Date
Abstract argument handler for dates.

Namespace

Drupal\views\Plugin\views\argument

Code

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