You are here

function dnd_menu in Scald: Media Management made easy 6

Same name and namespace in other branches
  1. 7 modules/library/dnd/dnd.module \dnd_menu()

Implementation of hook_menu().

File

dnd/dnd.module, line 9

Code

function dnd_menu() {
  $items = array();
  $items['admin/settings/dnd'] = array(
    'title' => 'Drag and Drop Library',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'dnd_admin_form',
    ),
    'description' => 'Configure drag-and-drop enabled textareas.',
    'access arguments' => array(
      'administer dnd',
    ),
    'file' => 'dnd.admin.inc',
  );
  return $items;
}