menu.module
menu.module
Allows administrators to customize the site's navigation menus.
A menu (in this context) is a hierarchical collection of links, generally used for navigation. This is not to be confused with the Menu system of menu.inc and hook_menu(), which defines page routing requests for Drupal, and also allows the defined page routing URLs to be added to the main site navigation menu.
File
modules/menu/menu.moduleFunctions
Name | Description |
---|---|
menu_block_info | Implements hook_block_info(). |
menu_block_view | Implements hook_block_view(). |
menu_block_view_alter | Implements hook_block_view_alter(). |
menu_delete | Delete a custom menu and all contained links. |
menu_enable | Implements hook_enable(). |
menu_form_node_form_alter | Implements hook_form_BASE_FORM_ID_alter(). |
menu_form_node_type_form_alter | Implements hook_form_FORM_ID_alter(). |
menu_get_menus | Return an associative array of the custom menus names. |
menu_help | Implements hook_help(). |
menu_load | Load the data for a single custom menu. |
menu_load_all | Load all custom menu data. |
menu_menu | Implements hook_menu(). |
menu_node_delete | Implements hook_node_delete(). |
menu_node_insert | Implements hook_node_insert(). |
menu_node_prepare | Implements hook_node_prepare(). |
menu_node_save | Helper for hook_node_insert() and hook_node_update(). |
menu_node_submit | Implements hook_node_submit(). |
menu_node_update | Implements 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 the available menus and menu items as a JavaScript array. |
menu_permission | Implements hook_permission(). |
menu_reset_item | Reset a system-defined menu link. |
menu_save | Save a custom menu. |
menu_theme | Implements 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. |
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. |
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!menu!menu.module/7.x