function ArgumentPluginBase::exceptionTitle

Same name and namespace in other branches
  1. 9 core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php \Drupal\views\Plugin\views\argument\ArgumentPluginBase::exceptionTitle()
  2. 8.9.x core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php \Drupal\views\Plugin\views\argument\ArgumentPluginBase::exceptionTitle()
  3. 10 core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php \Drupal\views\Plugin\views\argument\ArgumentPluginBase::exceptionTitle()

Returns the title of the exception for the argument.

File

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

Class

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

Namespace

Drupal\views\Plugin\views\argument

Code

public function exceptionTitle() {
  // If title overriding is off for the exception, return the normal title.
  if (empty($this->options['exception']['title_enable'])) {
    return $this->getTitle();
  }
  return $this->options['exception']['title'];
}

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