You are here

function nice_menus_theme in Nice Menus 7.2

Same name and namespace in other branches
  1. 8 nice_menus.module \nice_menus_theme()
  2. 6.2 nice_menus.module \nice_menus_theme()
  3. 6 nice_menus.module \nice_menus_theme()
  4. 7.3 nice_menus.module \nice_menus_theme()

Implements hook_theme().

File

./nice_menus.module, line 378
Module to enable CSS dropdown and flyout menus.

Code

function nice_menus_theme() {
  return array(
    'nice_menus_tree' => array(
      'variables' => array(
        'menu_name' => NULL,
        'mlid' => NULL,
        'depth' => -1,
        'menu' => NULL,
        'respect_expanded' => 0,
      ),
    ),
    'nice_menus_build' => array(
      'variables' => array(
        'menu' => NULL,
        'depth' => -1,
        'trail' => NULL,
        'respect_expanded' => 0,
      ),
    ),
    'nice_menus' => array(
      'variables' => array(
        'id' => NULL,
        'menu_name' => NULL,
        'mlid' => NULL,
        'direction' => 'right',
        'depth' => -1,
        'respect_expanded' => 0,
        'menu' => NULL,
      ),
    ),
    'nice_menus_main_menu' => array(
      'variables' => array(
        'direction' => 'down',
        'depth' => -1,
      ),
    ),
    'nice_menus_secondary_menu' => array(
      'variables' => array(
        'direction' => 'down',
        'depth' => -1,
      ),
    ),
  );
}