You are here

function menu_item_extras_preprocess_menu in Menu Item Extras 8

Same name and namespace in other branches
  1. 8.2 menu_item_extras.module \menu_item_extras_preprocess_menu()

Implements hook_preprocess_menu().

File

./menu_item_extras.module, line 134
Adds body field to the menu item.

Code

function menu_item_extras_preprocess_menu(&$variables) {
  \Drupal::service('menu_item_extras.menu_link_tree_handler')
    ->processMenuLinkTree($variables['items']);
}