You are here

public function DisplayPluginBase::getPagerText in Views (for Drupal 7) 8.3

Provide some helpful text for pagers.

The result should contain of an array within

  • items per page title
1 method overrides DisplayPluginBase::getPagerText()
Page::getPagerText in lib/Drupal/views/Plugin/views/display/Page.php
Provide some helpful text for pagers.

File

lib/Drupal/views/Plugin/views/display/DisplayPluginBase.php, line 2706
Definition of Drupal\views\Plugin\views\display\DisplayPluginBase.

Class

DisplayPluginBase
The default display plugin handler. Display plugins handle options and basic mechanisms for different output methods.

Namespace

Drupal\views\Plugin\views\display

Code

public function getPagerText() {
  return array(
    'items per page title' => t('Items to display'),
    'items per page description' => t('The number of items to display. Enter 0 for no limit.'),
  );
}