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::get_title 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()
CreatedDay::title in drupal/core/modules/node/lib/Drupal/node/Plugin/views/argument/CreatedDay.php
Provide a link to the next level of the view
CreatedFullDate::title in drupal/core/modules/node/lib/Drupal/node/Plugin/views/argument/CreatedFullDate.php
Provide a link to the next level of the view
CreatedMonth::title in drupal/core/modules/node/lib/Drupal/node/Plugin/views/argument/CreatedMonth.php
Provide a link to the next level of the view
CreatedYearMonth::title in drupal/core/modules/node/lib/Drupal/node/Plugin/views/argument/CreatedYearMonth.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.

... See full list

File

drupal/core/modules/views/lib/Drupal/views/Plugin/views/argument/ArgumentPluginBase.php, line 917
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);
}