You are here

function ArgumentPluginBase::title in Views (for Drupal 7) 8.3

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 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 lib/Views/node/Plugin/views/argument/CreatedDay.php
Provide a link to the next level of the view
CreatedFullDate::title in lib/Views/node/Plugin/views/argument/CreatedFullDate.php
Provide a link to the next level of the view
CreatedMonth::title in lib/Views/node/Plugin/views/argument/CreatedMonth.php
Provide a link to the next level of the view
CreatedYearMonth::title in lib/Views/node/Plugin/views/argument/CreatedYearMonth.php
Provide a link to the next level of the view
IndexTidDepth::title in lib/Views/taxonomy/Plugin/views/argument/IndexTidDepth.php
Get the title this argument will assign the view, given the argument.

... See full list

File

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);
}