You are here

public function Page::getPagerText in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/views/src/Plugin/views/display/Page.php \Drupal\views\Plugin\views\display\Page::getPagerText()

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 DisplayPluginBase::getPagerText

File

core/modules/views/src/Plugin/views/display/Page.php, line 524
Contains \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' => $this
      ->t('Items per page'),
    'items per page description' => $this
      ->t('The number of items to display per page. Enter 0 for no limit.'),
  );
}