You are here

function nice_menus_theme in Nice Menus 6

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. 7.3 nice_menus.module \nice_menus_theme()
  4. 7.2 nice_menus.module \nice_menus_theme()

Implmentation of hook_theme().

File

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

Code

function nice_menus_theme() {
  return array(
    'nice_menu_tree' => array(
      'arguments' => array(
        'menu_name' => NULL,
        'mlid' => NULL,
        'menu' => NULL,
      ),
    ),
    'nice_menu_build' => array(
      'arguments' => array(
        'menu' => NULL,
      ),
    ),
    'nice_menu' => array(
      'arguments' => array(
        'id' => NULL,
        'menu_name' => NULL,
        'mlid' => NULL,
        'direction' => 'right',
        'menu' => NULL,
      ),
    ),
    'nice_menu_primary_links' => array(
      'arguments' => array(
        'direction' => 'down',
        'menu' => NULL,
      ),
    ),
    'nice_menu' => array(
      'arguments' => array(
        'id' => NULL,
        'pid' => NULL,
        'direction' => 'right',
        'menu' => NULL,
      ),
    ),
    'nice_menu_primary_links' => array(
      'arguments' => array(
        'direction' => 'down',
        'menu' => NULL,
      ),
    ),
  );
}