You are here

function colossal_menu_theme in Colossal Menu 2.x

Same name and namespace in other branches
  1. 8 colossal_menu.module \colossal_menu_theme()

Implements hook_theme().

File

./colossal_menu.module, line 14
Colossal Menu Hooks.

Code

function colossal_menu_theme() {
  return [
    'colossal_menu' => [
      'variables' => [
        'menu_name' => NULL,
        'items' => [],
        'attributes' => [],
      ],
    ],
    'colossal_menu_link' => [
      'render element' => 'elements',
    ],
  ];
}