function LanguageArgument::summaryName
Same name in other branches
- 9 core/modules/views/src/Plugin/views/argument/LanguageArgument.php \Drupal\views\Plugin\views\argument\LanguageArgument::summaryName()
- 8.9.x core/modules/views/src/Plugin/views/argument/LanguageArgument.php \Drupal\views\Plugin\views\argument\LanguageArgument::summaryName()
- 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 22
Class
- LanguageArgument
- Defines an argument handler to accept a language.
Namespace
Drupal\views\Plugin\views\argumentCode
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.