function d8cache_menu_link_alter in Drupal 8 Cache Backport 7
Implements hook_menu_link_alter().
File
- includes/
menu.inc, line 42 - Menu functions and hooks for the D8 caching system backport.
Code
function d8cache_menu_link_alter(&$item) {
// @todo This needs an upgrade path for existing menu items.
$item['options']['#menu_name'] = $item['menu_name'];
}