function ArgumentPluginBase::title

Get the title this argument will assign the view, given the argument.

This usually needs to be overridden to provide a proper title.

1 call to ArgumentPluginBase::title()
ArgumentPluginBase::getTitle in drupal/core/modules/views/lib/Drupal/views/Plugin/views/argument/ArgumentPluginBase.php
Called by the view object to get the title. This may be set by a validator so we don't necessarily call through to title().
10 methods override ArgumentPluginBase::title()
DayDate::title in drupal/core/modules/views/lib/Drupal/views/Plugin/views/argument/DayDate.php
Provide a link to the next level of the view
FullDate::title in drupal/core/modules/views/lib/Drupal/views/Plugin/views/argument/FullDate.php
Provide a link to the next level of the view
IndexTidDepth::title in drupal/core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/views/argument/IndexTidDepth.php
Get the title this argument will assign the view, given the argument.
LanguageArgument::title in drupal/core/modules/language/lib/Drupal/language/Plugin/views/argument/LanguageArgument.php
Overrides \Drupal\views\Plugin\views\argument\ArgumentPluginBase::summaryName().
ManyToOne::title in drupal/core/modules/views/lib/Drupal/views/Plugin/views/argument/ManyToOne.php
Get the title this argument will assign the view, given the argument.

... See full list

File

drupal/core/modules/views/lib/Drupal/views/Plugin/views/argument/ArgumentPluginBase.php, line 921
Definition of Drupal\views\Plugin\views\argument\ArgumentPluginBase.

Class

ArgumentPluginBase
Base class for arguments.

Namespace

Drupal\views\Plugin\views\argument

Code

function title() {
  return check_plain($this->argument);
}