Change record status: 
Project: 
Introduced in branch: 
8.x
Introduced in version: 
8.0-ALPHA11
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_ui_parent_options \Drupal::service('menu.parent_form_selector')->getParentSelectOptions() following #2256521: [META] New plan, Phase 2: Implement menu links as plugins, including static admin links and views, and custom links with menu_link_content entity, all managed via menu_ui module
_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