You are here

public function ArgumentPluginBase::exceptionTitle in Drupal 8

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()

File

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

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'];
}