You are here

public function Page::getPagerText in Views PDF 8

Provides help text for pagers.

Return value

array Returns an array which contains text for the items_per_page form element:

  • items per page title: The title text for the items_per_page form element.
  • items per page description: The description text for the items_per_page form element.

Overrides Page::getPagerText

File

src/Plugin/views/display/Page.php, line 426
Contains \Drupal\views_pdf\Plugin\views\display\Page.

Class

Page
This class contains all the functionality of the PDF display.

Namespace

Drupal\views_pdf\Plugin\views\display

Code

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