You are here

function Language::title in Views (for Drupal 7) 8.3

Override the behavior of title(). Get the user friendly version of the language.

Overrides ArgumentPluginBase::title

File

lib/Views/language/Plugin/views/argument/Language.php, line 37
Definition of Views\language\Plugin\views\argument\Language.

Class

Language
Argument handler to accept a language.

Namespace

Views\language\Plugin\views\argument

Code

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