function LanguageArgument::summaryName
Overrides \Drupal\views\Plugin\views\argument\ArgumentPluginBase::summaryName().
Gets the user-friendly version of the language name.
Parameters
$data: The query results for the row.
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.