You are here

public function ArgumentPluginBase::exceptionTitle in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 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 102
Contains \Drupal\views\Plugin\views\argument\ArgumentPluginBase.

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