You are here

function prev_next_views_menu in Previous/Next API 7

Same name and namespace in other branches
  1. 6 prev_next_views.module \prev_next_views_menu()
  2. 7.2 prev_next_views.module \prev_next_views_menu()

Implements hook_menu().

File

./prev_next_views.module, line 49

Code

function prev_next_views_menu() {
  $items = array();
  $items['admin/config/system/prev_next/views'] = array(
    'title' => 'Views',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'prev_next_views_settings',
    ),
    'access arguments' => array(
      'administer prev_next_views',
    ),
    'type' => MENU_LOCAL_TASK,
    'weight' => 10,
    'file' => 'prev_next_views.admin.inc',
  );
  return $items;
}