function DisplayPluginBase::getPagerText

Same name and namespace in other branches
  1. 8.9.x core/modules/views/src/Plugin/views/display/DisplayPluginBase.php \Drupal\views\Plugin\views\display\DisplayPluginBase::getPagerText()
  2. 10 core/modules/views/src/Plugin/views/display/DisplayPluginBase.php \Drupal\views\Plugin\views\display\DisplayPluginBase::getPagerText()
  3. 11.x core/modules/views/src/Plugin/views/display/DisplayPluginBase.php \Drupal\views\Plugin\views\display\DisplayPluginBase::getPagerText()

Overrides DisplayPluginInterface::getPagerText

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

File

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

Class

DisplayPluginBase
Base class for views display plugins.

Namespace

Drupal\views\Plugin\views\display

Code

public function getPagerText() {
    return [
        'items per page title' => $this->t('Items to display'),
        'items per page description' => $this->t('Enter 0 for no limit.'),
    ];
}

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