You are here

function drafty_menu in Drafty 7

Implements hook_menu().

File

./drafty.module, line 11
Hook implementations and API functions for the Drafty module.

Code

function drafty_menu() {
  $items = array();
  $items['admin/config/system/drafty'] = array(
    'title' => 'Drafty',
    'description' => 'Manage Drafty settings.',
    'type' => MENU_NORMAL_ITEM,
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'drafty_form',
    ),
    'access arguments' => array(
      'administer drafty',
    ),
    'file' => 'includes/drafty.admin.inc',
  );
  return $items;
}