menu.module

Version 1.157.2.6 (checked in on 2009/04/27 at 12:50:13 by goba)

Allows administrators to customize the site navigation menu.

Constants

NameDescription
MENU_MAX_MENU_NAME_LENGTH_UIMaximum length of menu name as entered by the user. Database length is 32 and we add a menu- prefix.

Functions

NameDescription
menu_blockImplementation of hook_block().
menu_enableImplementation of hook_enable()
menu_form_alterImplementation of hook_form_alter(). Adds menu item fields to the node form.
menu_get_menusReturn an associative array of the custom menus names.
menu_helpImplementation of hook_help().
menu_loadLoad the data for a single custom menu.
menu_menuImplementation of hook_menu().
menu_nodeapiImplementation of hook_nodeapi().
menu_node_form_submitDecompose the selected menu parent option into the menu_name and plid.
menu_overview_titleTitle callback for the menu overview page and links.
menu_parent_optionsReturn a list of menu items that are valid possible parents for the given menu item.
menu_permImplementation of hook_perm().
menu_reset_itemReset a system-defined menu item.
menu_themeImplemenation of hook_theme().
_menu_parents_recurseRecursive helper function for menu_parent_options().
_menu_parent_depth_limitFind the depth limit for items in the parent select.
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.