1 pager_example.module pager_example_menu()

Implements hook_menu().

Related topics


modules/examples/pager_example/pager_example.module, line 24
This is an example describing how a module can implement a pager in order to reduce the number of output rows to the screen and allow a user to scroll through multiple screens of output.


function pager_example_menu() {
  $items['examples/pager_example'] = array(
    'title' => 'Pager example',
    'description' => 'Show a page with a long list across multiple pages',
    'page callback' => 'pager_example_page',
    'access callback' => TRUE,
  return $items;