You are here

public function views_plugin_display::get_pager_text in Views (for Drupal 7) 7.3

Provide some helpful text for pagers.

The result should contain of an array with:

  • items per page title.
  • items per page description.
1 method overrides views_plugin_display::get_pager_text()
views_plugin_display_page::get_pager_text in plugins/views_plugin_display_page.inc
Provide some helpful text for pagers.

File

plugins/views_plugin_display.inc, line 3288
Definition of views_plugin_display.

Class

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

Code

public function get_pager_text() {
  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.'),
  );
}