You are here

function entity_submenu_block_theme in Entity Submenu Block 8

Implements hook_theme().

File

./entity_submenu_block.module, line 11
Functions to support theming Entity Submenu Blocks.

Code

function entity_submenu_block_theme($existing, $type, $theme, $path) {
  return [
    'entity_submenu' => [
      'variables' => [
        'menu_name' => NULL,
        'menu_items' => NULL,
      ],
    ],
    'entity_submenu_item' => [
      'variables' => [
        'url' => NULL,
        'title' => NULL,
      ],
    ],
  ];
}