You are here

function superfish_theme in Superfish 7

Same name and namespace in other branches
  1. 8 superfish.module \superfish_theme()
  2. 6 superfish.module \superfish_theme()

Implements hook_theme().

File

./superfish.module, line 2018
Enables the use of jQuery Superfish plugin for Drupal menus.

Code

function superfish_theme() {
  return array(
    'superfish' => array(
      'variables' => array(
        'id' => NULL,
        'menu_name' => NULL,
        'mlid' => NULL,
        'sfsettings' => NULL,
      ),
    ),
    'superfish_build' => array(
      'variables' => array(
        'id' => NULL,
        'menu' => NULL,
        'depth' => -1,
        'trail' => NULL,
        'clone_parent' => NULL,
        'sfsettings' => NULL,
      ),
    ),
    'superfish_menu_item' => array(
      'variables' => array(
        'element' => NULL,
        'properties' => NULL,
      ),
    ),
    'superfish_menu_item_link' => array(
      'variables' => array(
        'menu_item' => NULL,
        'link_options' => NULL,
      ),
    ),
  );
}