You are here

function cheeseburger_menu_theme in Cheeseburger Menu 8.2

Same name and namespace in other branches
  1. 8.4 cheeseburger_menu.module \cheeseburger_menu_theme()
  2. 8 cheeseburger_menu.module \cheeseburger_menu_theme()
  3. 8.3 cheeseburger_menu.module \cheeseburger_menu_theme()
  4. 5.0.x cheeseburger_menu.module \cheeseburger_menu_theme()

Implements hook_theme().

File

./cheeseburger_menu.module, line 13
Cheesebugers module file.

Code

function cheeseburger_menu_theme($existing, $type, $theme, $path) {
  return [
    'hierarchical_menu' => [
      'variables' => [
        'menu_tree' => [],
        'route_id' => 0,
        'page_type' => 'unknown',
        'title' => '',
        'machine_name' => '',
        'current_url' => '',
        'block_id' => '',
        'active' => [],
      ],
    ],
    'hierarchical_navigation' => [
      'variables' => [
        'tree' => [],
      ],
    ],
  ];
}