You are here

function draggableviews_menu in DraggableViews 6

Same name and namespace in other branches
  1. 6.3 draggableviews.module \draggableviews_menu()
  2. 6.2 draggableviews.module \draggableviews_menu()
  3. 7 draggableviews.module \draggableviews_menu()

* Implementing hook_menu

File

./draggableviews.module, line 40

Code

function draggableviews_menu() {
  $items = array();

  /* ADMIN AREA
   ***************/
  $items['admin/settings/draggableviews'] = array(
    'title' => 'Draggable views settings',
    'description' => 'Configure settings',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'draggableviews_admin',
    ),
    'access arguments' => array(
      'access administration pages',
    ),
    'type' => MENU_NORMAL_ITEM,
  );
  return $items;
}