You are here

public function StringContainsArgument::getSortName in Media Directories 8

Same name and namespace in other branches
  1. 2.x modules/media_directories_ui/src/Plugin/views/argument/StringContainsArgument.php \Drupal\media_directories_ui\Plugin\views\argument\StringContainsArgument::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

modules/media_directories_ui/src/Plugin/views/argument/StringContainsArgument.php, line 91

Class

StringContainsArgument
Media directory ui string contains argument plugin.

Namespace

Drupal\media_directories_ui\Plugin\views\argument

Code

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