You are here

public function LanguageArgument::summaryName 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::summaryName()

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

Gets the user-friendly version of the language name.

Overrides ArgumentPluginBase::summaryName

File

core/modules/views/src/Plugin/views/argument/LanguageArgument.php, line 24
Contains \Drupal\views\Plugin\views\argument\LanguageArgument.

Class

LanguageArgument
Defines an argument handler to accept a language.

Namespace

Drupal\views\Plugin\views\argument

Code

public function summaryName($data) {
  return $this
    ->language($data->{$this->name_alias});
}