You are here

function pagination_menu in Pagination (Node) 6

Same name and namespace in other branches
  1. 7 pagination.module \pagination_menu()

@desc Implementation of hook_menu()

File

./pagination.module, line 21
pagination.module @desc Allow for arbitrary nodes to be paginated. administrators can set which nodes they wish to paginate, and the length of content required to split a node into pages. Alternatively, content creators can set manual break points…

Code

function pagination_menu() {
  $menu['admin/settings/pagination'] = array(
    'title' => 'Pagination (Node)',
    'description' => 'Allow for arbitrary nodes to be paginated.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'pagination_admin_settings',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
    'type' => MENU_NORMAL_ITEM,
  );
  return $menu;
}