You are here

function ultimenu_menu in Ultimenu 7

Implements hook_menu().

File

./ultimenu.module, line 44
Build Ultimenu regions based on enabled menu and its available menu items.

Code

function ultimenu_menu() {
  $items = array();
  $items['admin/structure/ultimenu'] = array(
    'title' => 'Ultimenu',
    'description' => 'Configure Ultimenu.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'ultimenu_admin_settings',
    ),
    'access callback' => 'user_access',
    'access arguments' => array(
      'administer ultimenu',
    ),
    'type' => MENU_NORMAL_ITEM,
    'file' => 'includes/ultimenu.admin.inc',
  );
  return $items;
}