function LanguageArgument::summaryName

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

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});
}

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