You are here

function menu_item_fields_theme in Menu item content fields 8

Implements hook_theme().

File

./menu_item_fields.module, line 71
Contains hooks for the Menu Item Fields module.

Code

function menu_item_fields_theme() {
  return [
    'menu_link_content' => [
      'render element' => 'content',
    ],
    'menu__field_content' => [
      'base hook' => 'menu',
      'variables' => [
        'menu_name' => NULL,
        'items' => [],
        'attributes' => [],
        'view_mode' => 'default',
        'view_mode_override_field' => '',
      ],
    ],
  ];
}