function DisplayPluginBase::getArgumentText

Same name and namespace in other branches
  1. 9 core/modules/views/src/Plugin/views/display/DisplayPluginBase.php \Drupal\views\Plugin\views\display\DisplayPluginBase::getArgumentText()
  2. 8.9.x core/modules/views/src/Plugin/views/display/DisplayPluginBase.php \Drupal\views\Plugin\views\display\DisplayPluginBase::getArgumentText()
  3. 10 core/modules/views/src/Plugin/views/display/DisplayPluginBase.php \Drupal\views\Plugin\views\display\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 2653

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'."),
    ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.