function ArgumentPluginBase::get_title

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

1 call to ArgumentPluginBase::get_title()
ArgumentPluginBase::exception_title in drupal/core/modules/views/lib/Drupal/views/Plugin/views/argument/ArgumentPluginBase.php

File

drupal/core/modules/views/lib/Drupal/views/Plugin/views/argument/ArgumentPluginBase.php, line 925
Definition of Drupal\views\Plugin\views\argument\ArgumentPluginBase.

Class

ArgumentPluginBase
Base class for arguments.

Namespace

Drupal\views\Plugin\views\argument

Code

function get_title() {
  if (isset($this->validated_title)) {
    return $this->validated_title;
  }
  else {
    return $this
      ->title();
  }
}