You are here

function menu_minipanels_theme in Menu Minipanels 7.2

Implements hook_theme().

File

./menu_minipanels.module, line 176
Menu MiniPanels provides a flexible "mega menu" solution for Drupal by allowing a minipanel to be associated with a Drupal menu item. When that menu item is hovered, the minipanel content will be shown using standard CSS :hover techniques…

Code

function menu_minipanels_theme($existing, $type, $theme, $path) {
  if ($type = 'module') {
    return array(
      'menu_minipanel' => array(
        'template' => 'menu-minipanel',
        'variables' => array(
          'minipanel_name' => NULL,
          'mlid' => NULL,
        ),
        'path' => drupal_get_path('module', 'menu_minipanels') . '/theme',
      ),
    );
  }
}