You are here

function menu_item_extras_theme in Menu Item Extras 8

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

Implements hook_theme().

File

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

Code

function menu_item_extras_theme() {
  $theme = [];
  $theme['menu__extras'] = [
    'render element' => 'content',
    'base hook' => 'menu',
  ];
  return $theme;
}