You are here

public function LanguageArgument::title in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/views/src/Plugin/views/argument/LanguageArgument.php \Drupal\views\Plugin\views\argument\LanguageArgument::title()

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

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

Overrides ArgumentPluginBase::title

File

core/modules/views/src/Plugin/views/argument/LanguageArgument.php, line 29

Class

LanguageArgument
Defines an argument handler to accept a language.

Namespace

Drupal\views\Plugin\views\argument

Code

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