You are here

function panels_views_menu in Panels 6.2

Same name and namespace in other branches
  1. 5.2 panels_views/panels_views.module \panels_views_menu()

Implementation of hook_menu().

File

panels_views/panels_views.module, line 14
panels_views.module

Code

function panels_views_menu() {
  $items = array();
  $base = array(
    'access arguments' => array(
      'administer panel views',
    ),
    'file' => 'panels_views.admin.inc',
  );
  $items['admin/panels/views'] = array(
    'title' => 'Views panes',
    'type' => MENU_NORMAL_ITEM,
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'panels_views_admin_page',
    ),
    'description' => 'Configure Views to be used as panes within panel displays.',
  ) + $base;
  return $items;
}