You are here

function superfish_theme in Superfish 6

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

Implements hook_theme().

File

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

Code

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