You are here

function simple_megamenu_example_theme in Simple Mega Menu 8

Same name and namespace in other branches
  1. 2.0.x modules/simple_megamenu_example/simple_megamenu_example.module \simple_megamenu_example_theme()

Implements hook_theme().

File

modules/simple_megamenu_example/simple_megamenu_example.module, line 29
Contains simple_megamenu_example.module.

Code

function simple_megamenu_example_theme() {
  $theme = [];
  $theme['simple_mega_menu__megamenu'] = [
    'render element' => 'elements',
    'base hook' => 'simple_mega_menu',
  ];
  return $theme;
}