Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ArgumentPluginBase.php

function ArgumentPluginBase::getTitle

Determines the title to use for the view.

This may be set by a validator so we don't necessarily call through to title().

1 call to ArgumentPluginBase::getTitle()
ArgumentPluginBase::exceptionTitle in core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php

File

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

Class

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

Namespace

Drupal\views\Plugin\views\argument

Code

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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal