function LanguageArgument::title

Same name in other branches
  1. 9 core/modules/views/src/Plugin/views/argument/LanguageArgument.php \Drupal\views\Plugin\views\argument\LanguageArgument::title()
  2. 10 core/modules/views/src/Plugin/views/argument/LanguageArgument.php \Drupal\views\Plugin\views\argument\LanguageArgument::title()
  3. 11.x 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);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.