menu.module
Version 1.217 (checked in on 2009/11/08 at 10:02:41 by webchick)
Allows administrators to customize the site navigation menu.
Constants
| Name | Description |
|---|---|
| MENU_MAX_MENU_NAME_LENGTH_UI | Maximum length of menu name as entered by the user. Database length is 32 and we add a menu- prefix. |
Functions
| Name | Description |
|---|---|
| menu_block_info | Implement hook_block_info(). |
| menu_block_view | Implement hook_block_view(). |
| menu_block_view_alter | Implement hook_block_view_alter(). |
| menu_delete | Delete a custom menu and all contained links. |
| menu_enable | Implement hook_enable(). |
| menu_form_alter | Implement hook_form_alter(). Adds menu item fields to the node form. |
| menu_form_node_type_form_alter | Implement hook_form_FORM_ID_alter() for the node type form. Adds menu options to the node type form. |
| menu_get_menus | Return an associative array of the custom menus names. |
| menu_help | Implement hook_help(). |
| menu_load | Load the data for a single custom menu. |
| menu_menu | Implement hook_menu(). |
| menu_node_delete | Implement hook_node_delete(). |
| menu_node_form_submit | Submit handler for node form. |
| menu_node_insert | Implement hook_node_insert(). |
| menu_node_prepare | Implement hook_node_prepare(). |
| menu_node_save | Helper for hook_node_insert() and hook_node_update(). |
| menu_node_update | Implement hook_node_update(). |
| menu_overview_title | Title callback for the menu overview page and links. |
| menu_parent_options | Return a list of menu items that are valid possible parents for the given menu item. |
| menu_parent_options_js | Page callback. Get all available menus and menu items as Javascript array. |
| menu_permission | Implement hook_permission(). |
| menu_reset_item | Reset a system-defined menu item. |
| menu_save | Save a custom menu. |
| menu_theme | Implement hook_theme(). |
| _menu_get_options | Helper function to get the items of the given menu. |
| _menu_parents_recurse | Recursive helper function for menu_parent_options(). |
| _menu_parent_depth_limit | Find the depth limit for items in the parent select. |
