You are here

function paging_menu in Paging 5

Same name and namespace in other branches
  1. 6 paging.module \paging_menu()
  2. 7 paging.module \paging_menu()

Implementation of hook_menu().

File

./paging.module, line 26

Code

function paging_menu($maycache) {
  if ($maycache) {
    $items[] = array(
      'path' => 'admin/settings/paging',
      'title' => t('Paging'),
      'description' => t('Enable or disable paging for certain node types and set other preferences.'),
      'callback' => 'drupal_get_form',
      'callback arguments' => 'paging_settings',
      'access' => user_access('administer site configuration'),
      'type' => MENU_NORMAL_ITEM,
    );
  }
  return $items;
}