You are here

public function Page::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

Overrides DisplayPluginBase::getPagerText

File

lib/Drupal/views/Plugin/views/display/Page.php, line 647
Definition of Drupal\views\Plugin\views\display\Page.

Class

Page
The plugin that handles a full page.

Namespace

Drupal\views\Plugin\views\display

Code

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