You are here

function nice_menus_theme in Nice Menus 6.2

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

Implements hook_theme().

File

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

Code

function nice_menus_theme() {
  return array(
    'nice_menus_tree' => array(
      'arguments' => array(
        'menu_name' => NULL,
        'mlid' => NULL,
        'depth' => -1,
        'menu' => NULL,
      ),
    ),
    'nice_menus_build' => array(
      'arguments' => array(
        'menu' => NULL,
        'depth' => -1,
        'trail' => NULL,
      ),
    ),
    'nice_menus' => array(
      'arguments' => array(
        'id' => NULL,
        'menu_name' => NULL,
        'mlid' => NULL,
        'direction' => 'right',
        'depth' => -1,
        'menu' => NULL,
      ),
    ),
    'nice_menus_primary_links' => array(
      'arguments' => array(
        'direction' => 'down',
        'depth' => -1,
        'menu' => NULL,
      ),
    ),
    'nice_menus_secondary_links' => array(
      'arguments' => array(
        'direction' => 'down',
        'depth' => -1,
        'menu' => NULL,
      ),
    ),
    // Deprecated theme functions that will be removed in 7.x.
    'nice_menu_tree' => array(
      'arguments' => array(
        'menu_name' => NULL,
        'mlid' => NULL,
        'depth' => -1,
        'menu' => NULL,
      ),
    ),
    'nice_menu_build' => array(
      'arguments' => array(
        'menu' => NULL,
        'depth' => -1,
        'trail' => NULL,
      ),
    ),
    'nice_menu' => array(
      'arguments' => array(
        'id' => NULL,
        'menu_name' => NULL,
        'mlid' => NULL,
        'direction' => 'right',
        'depth' => -1,
        'menu' => NULL,
      ),
    ),
    'nice_menu_primary_links' => array(
      'arguments' => array(
        'direction' => 'down',
        'depth' => -1,
        'menu' => NULL,
      ),
    ),
  );
}