Change record status: 
Project: 
Introduced in branch: 
8.x
Description: 

Following the conversion of hook_menu() to the new routing and menu link APIs, the following two API functions have been removed:

  • menu_get_item()
  • menu_set_item()

If you want to get the name, parameters, or route object for the current route, you can use the RouteMatch object. In most cases, code that calls to menu_get_item() in Drupal 7 will already be part of code that needs to be rewritten to leverage the new routing system or menu links APIs.

Impacts: 
Module developers
Updates Done (doc team, etc.)
Online documentation: 
Not done
Theming guide: 
Not done
Module developer documentation: 
Not done
Examples project: 
Not done
Coder Review: 
Not done
Coder Upgrade: 
Not done
Other: 
Other updates done