function jquerymenu_theme in JQuery menu 7.4
Same name and namespace in other branches
- 7.3 jquerymenu.module \jquerymenu_theme()
Implements hook_theme().
File
- ./
jquerymenu.module, line 325 - The jQuerymenu module parses hierarchical link arrays and renders them as click and expand menu blocks.
Code
function jquerymenu_theme() {
return array(
'jquerymenu_menu' => array(
'variables' => array(
'tree' => NULL,
'trail' => NULL,
),
),
'jquerymenu_listitem' => array(
'variables' => array(
'item' => NULL,
'title' => NULL,
'path' => NULL,
'options' => NULL,
'state' => NULL,
'classes' => NULL,
'has_children' => NULL,
'edit_path' => NULL,
'edit_text' => NULL,
'edit_access' => NULL,
'nextlevel' => NULL,
),
),
'jquerymenu_links' => array(
'variables' => array(
'title' => NULL,
'path' => NULL,
'options' => NULL,
'state' => NULL,
'classes' => NULL,
'has_children' => NULL,
'edit_path' => NULL,
'edit_text' => NULL,
'edit_access' => NULL,
),
),
);
}