function theme_taxonomy_manager_tree in Taxonomy Manager 6
Same name and namespace in other branches
- 5 taxonomy_manager.module \theme_taxonomy_manager_tree()
- 6.2 taxonomy_manager.module \theme_taxonomy_manager_tree()
- 7 taxonomy_manager.module \theme_taxonomy_manager_tree()
theme function for root element
Parameters
$element:
Return value
html output
File
- ./
taxonomy_manager.module, line 823 - Taxonomy Manager
Code
function theme_taxonomy_manager_tree(&$element) {
$tree = theme('taxonomy_manager_tree_elements', $element['#elements']);
if (!$element['#parent'] && !$element['#siblings_page'] || $element['#render_whole_tree']) {
$output = '<div id="' . $element['#id'] . '">';
$output .= $tree;
$output .= '</div>';
return theme('form_element', $element, $output);
}
return $tree;
}