function ArgumentPluginBase::title

Same name and namespace in other branches
  1. 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.

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.