By dawehner on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
8.x
Introduced in version:
8.0-ALPHA11
Issue links:
Description:
The menu module was renamed to menu_ui module to avoid confusion for site builders. The menu module provided the user interface for the menu_link module. All menu module functions have been renamed. Non-hook functions are listed below, but it is recommended to use the menu storage controller provided by menu_link module to load menu entities.
Some example method changes:
Before
$menu = menu_load('tools');
After
$menu = menu_ui_load('tools');
Renamed legacy non-hook functions
| Before | After |
|---|---|
| menu_load | menu_ui_load |
| menu_get_menus | menu_ui_get_menus |
| menu_node_save | menu_ui_node_save |
| _menu_get_options | _menu_ui_get_options |
| menu_parent_options | |
| _menu_parents_recurse | _menu_ui_parents_recurse |
| _menu_parent_depth_limit | _menu_ui_parent_depth_limit |
Related topics
Impacts:
Site builders, administrators, editors
Module developers