You are here

function _menu_per_role_menu in Menu Per Role 6

Implementation of hook_menu().

This function creates the actual menu array and returns it.

1 call to _menu_per_role_menu()
menu_per_role_menu in ./menu_per_role.module
Implementation of hook_menu().

File

./menu_per_role.admin.inc, line 12
Administration form for menu items.

Code

function _menu_per_role_menu() {
  $menu = array();
  $menu['admin/settings/menu_per_role'] = array(
    'title' => 'Menu per Role',
    'description' => 'Settings for the menu per role module',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'menu_per_role_settings_form',
    ),
    'access arguments' => array(
      'administer menu_per_role',
    ),
    'file' => 'menu_per_role.admin.inc',
  );
  return $menu;
}