You are here

function draggableviews_menu in DraggableViews 7

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

Implements hook_menu().

File

./draggableviews.module, line 61
Draggableviews module provides a style plugin for views. With this plugin rows become draggable and can be organized in complex structures.

Code

function draggableviews_menu() {
  $items = array();
  $items['admin/config/draggableviews'] = array(
    'title' => 'DraggableViews',
    'description' => 'Configure global settings',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'draggableviews_admin',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
    'type' => MENU_NORMAL_ITEM,
  );
  return $items;
}