function _dhtml_menu_build_block in DHTML Menu 6.2
Build a specific DHTML Menu block's content.
1 call to _dhtml_menu_build_block()
- dhtml_menu_preprocess_block in ./
dhtml_menu.module - Implementation of hook_preprocess(). Change the normal behaviour ('theming') of hook_block().
File
- ./
dhtml_menu.module, line 78 - dhtml_menu.module Allow click expansion of the menu tree via javascript, with graceful degradation.
Code
function _dhtml_menu_build_block($module, $delta) {
$menu_name = $module == 'user' ? 'navigation' : $delta;
// Retrieve menu tree data and build a DHTML menu from it.
return theme('dhtml_menu_tree', menu_tree_all_data($menu_name));
}