function LanguageArgument::title
Same name and namespace in other branches
- 9 core/modules/views/src/Plugin/views/argument/LanguageArgument.php \Drupal\views\Plugin\views\argument\LanguageArgument::title()
- 8.9.x core/modules/views/src/Plugin/views/argument/LanguageArgument.php \Drupal\views\Plugin\views\argument\LanguageArgument::title()
- 10 core/modules/views/src/Plugin/views/argument/LanguageArgument.php \Drupal\views\Plugin\views\argument\LanguageArgument::title()
Get the title this argument will assign the view, given the argument.
This usually needs to be overridden to provide a proper title.
Overrides ArgumentPluginBase::title
File
-
core/
modules/ views/ src/ Plugin/ views/ argument/ LanguageArgument.php, line 28
Class
- LanguageArgument
- Defines an argument handler to accept a language.
Namespace
Drupal\views\Plugin\views\argumentCode
public function title() {
// Gets the user friendly version of the language name for display as a
// title placeholder.
return $this->language($this->argument);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.