Allows administrators to customize the site's 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 Backdrop. The menu system also allows the defined page routing URLs to be added to these menus.

File

core/modules/menu/menu.module

Functions

Namesort descending Description
menu_block_configure Implements hook_block_configure().
menu_block_info Implements hook_block_info().
menu_block_view Implements hook_block_view().
menu_block_view_alter Implements hook_block_view_alter().
menu_config_info Implements hook_config_info().
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_load Load the data for a single custom menu.
menu_load_all Load all custom menu data.
menu_menu Implements hook_menu().
menu_menu_local_tasks_alter Implements hook_menu_local_tasks_alter().
menu_node_insert Implements hook_node_insert().
menu_node_predelete Implements hook_node_predelete().
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_type_load Implements hook_node_type_load()
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_preprocess_block Implements hook_preprocess_block().
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

Namesort descending 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.