Mercurial > defr > drupal > scald > dnd
diff 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 |
line wrap: on
line diff
--- a/dnd.module Mon Feb 16 00:31:17 2009 -0600 +++ b/dnd.module Mon Feb 16 01:39:54 2009 -0600 @@ -0,0 +1,23 @@ +<?php + +/** + * Implementation of hook_menu(). + */ +function dnd_menu() { + $items = array(); + $items['admin/settings/dnd'] = array( + 'title' => 'Drag and Drop Library', + 'page callback' => 'dnd_admin', + 'description' => 'Configure drag-and-drop enabled textareas.', + 'access arguments' => array('administer dnd'), + 'file' => 'dnd.admin.inc', + ); + return $items; +} + +/** + * Implementation of hook_perm(). + */ +function dnd_perm() { + return array('administer dnd'); +}