public function LanguageArgument::title in Drupal 10
Same name and namespace in other branches
- 8 core/modules/views/src/Plugin/views/argument/LanguageArgument.php \Drupal\views\Plugin\views\argument\LanguageArgument::title()
- 9 core/modules/views/src/Plugin/views/argument/LanguageArgument.php \Drupal\views\Plugin\views\argument\LanguageArgument::title()
Overrides \Drupal\views\Plugin\views\argument\ArgumentPluginBase::title().
Gets the user friendly version of the language name for display as a title placeholder.
File
- core/
modules/ views/ src/ Plugin/ views/ argument/ LanguageArgument.php, line 29
Class
- LanguageArgument
- Defines an argument handler to accept a language.
Namespace
Drupal\views\Plugin\views\argumentCode
public function title() {
return $this
->language($this->argument);
}