function LanguageArgument::title

Overrides \Drupal\views\Plugin\views\argument\ArgumentPluginBase::summaryName().

Gets the user friendly version of the language name for display as a title placeholder.

Overrides ArgumentPluginBase::title

File

drupal/core/modules/language/lib/Drupal/language/Plugin/views/argument/LanguageArgument.php, line 37
Contains Drupal\language\Plugin\views\argument\LanguageArgument.

Class

LanguageArgument
Defines an argument handler to accept a language.

Namespace

Drupal\language\Plugin\views\argument

Code

function title() {
  return $this
    ->language($this->argument);
}