You are here

function LanguageArgument::title in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 34
Contains \Drupal\views\Plugin\views\argument\LanguageArgument.

Class

LanguageArgument
Defines an argument handler to accept a language.

Namespace

Drupal\views\Plugin\views\argument

Code

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