function ArgumentPluginBase::title

Same name in other branches
  1. 8.9.x core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php \Drupal\views\Plugin\views\argument\ArgumentPluginBase::title()
  2. 10 core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php \Drupal\views\Plugin\views\argument\ArgumentPluginBase::title()
  3. 11.x core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php \Drupal\views\Plugin\views\argument\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.

2 calls to ArgumentPluginBase::title()
ArgumentPluginBase::getTitle in core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php
Determines the title to use for the view.
MonthDate::title in core/modules/views/src/Plugin/views/argument/MonthDate.php
Get the title this argument will assign the view, given the argument.
10 methods override ArgumentPluginBase::title()
DayDate::title in core/modules/views/src/Plugin/views/argument/DayDate.php
Get the title this argument will assign the view, given the argument.
FullDate::title in core/modules/views/src/Plugin/views/argument/FullDate.php
Get the title this argument will assign the view, given the argument.
IndexTidDepth::title in core/modules/taxonomy/src/Plugin/views/argument/IndexTidDepth.php
Get the title this argument will assign the view, given the argument.
LanguageArgument::title in core/modules/views/src/Plugin/views/argument/LanguageArgument.php
Overrides \Drupal\views\Plugin\views\argument\ArgumentPluginBase::title().
ManyToOne::title in core/modules/views/src/Plugin/views/argument/ManyToOne.php
Get the title this argument will assign the view, given the argument.

... See full list

File

core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php, line 985

Class

ArgumentPluginBase
Base class for argument (contextual filter) handler plugins.

Namespace

Drupal\views\Plugin\views\argument

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.