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

Breadcrumb

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

function DisplayPluginBase::getArgumentText

Overrides DisplayPluginInterface::getArgumentText

1 method overrides DisplayPluginBase::getArgumentText()
Page::getArgumentText in core/modules/views/src/Plugin/views/display/Page.php
Provides help text for the arguments.

File

core/modules/views/src/Plugin/views/display/DisplayPluginBase.php, line 2679

Class

DisplayPluginBase
Base class for views display plugins.

Namespace

Drupal\views\Plugin\views\display

Code

public function getArgumentText() {
    return [
        'filter value not present' => $this->t('When the filter value is <em>NOT</em> available'),
        'filter value present' => $this->t('When the filter value <em>IS</em> available or a default is provided'),
        'description' => $this->t("This display does not have a source for contextual filters, so no contextual filter value will be available unless you select 'Provide default'."),
    ];
}

API Navigation

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