You are here

function outline_designer_menu in Outline Designer 5

Same name and namespace in other branches
  1. 6.2 outline_designer.module \outline_designer_menu()
  2. 6 outline_designer.module \outline_designer_menu()
  3. 7.2 outline_designer.module \outline_designer_menu()
  4. 7 outline_designer.module \outline_designer_menu()

Implementation of hook_menu

File

./outline_designer.module, line 73

Code

function outline_designer_menu($may_cache) {
  $items = array();
  $items[] = array(
    'path' => 'outline_designer/ajax',
    'access' => user_access('access outline designer'),
    'callback' => '_outline_designer_ajax',
    'title' => t('Ajax Page'),
    'type' => MENU_CALLBACK,
  );
  $items[] = array(
    'path' => 'outline_designer',
    'title' => t('Outline Designer'),
    'description' => t('The Outline Designers Outline allows you to quickly (re)structure your entire website.'),
    'callback' => '_outline_designer_outline',
    'access' => user_access('access outline designer'),
  );
  $items[] = array(
    'path' => 'admin/settings/outline_designer',
    'title' => t('Outline Designer'),
    'description' => t('The Outline Designer settings allow you to define what content types can be created quickly as well as associating icons to content types.'),
    'callback' => 'drupal_get_form',
    'callback arguments' => 'outline_designer_settings',
    'type' => MENU_NORMAL_ITEM,
    'access' => user_access('access administration pages'),
  );
  return $items;
}