Mercurial > defr > drupal > scald > dnd
comparison dnd.module @ 1:cee053085755
Fleshing things out.
author | David Eads <eads@chicagotech.org> |
---|---|
date | Mon, 16 Feb 2009 01:39:54 -0600 |
parents | 4ed512a32d98 |
children | 5a44c430b7ac |
comparison
equal
deleted
inserted
replaced
0:4ed512a32d98 | 1:cee053085755 |
---|---|
1 <?php | |
2 | |
3 /** | |
4 * Implementation of hook_menu(). | |
5 */ | |
6 function dnd_menu() { | |
7 $items = array(); | |
8 $items['admin/settings/dnd'] = array( | |
9 'title' => 'Drag and Drop Library', | |
10 'page callback' => 'dnd_admin', | |
11 'description' => 'Configure drag-and-drop enabled textareas.', | |
12 'access arguments' => array('administer dnd'), | |
13 'file' => 'dnd.admin.inc', | |
14 ); | |
15 return $items; | |
16 } | |
17 | |
18 /** | |
19 * Implementation of hook_perm(). | |
20 */ | |
21 function dnd_perm() { | |
22 return array('administer dnd'); | |
23 } |