You are here

function accountmenu_menu in Account menu 6

Same name and namespace in other branches
  1. 7 accountmenu.module \accountmenu_menu()

Implements hook_menu.

File

./accountmenu.module, line 39
accountmenu.module Provide a dynamic Log in/My account/Log out account menu

Code

function accountmenu_menu() {
  $items['admin/settings/accountmenu'] = array(
    'title' => 'Account menu',
    'description' => 'Configure account menu',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'accountmenu_settings_form',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
    'type' => MENU_NORMAL_ITEM,
    'file' => 'accountmenu.admin.inc',
  );
  return $items;
}