function theme_collapse_text_fieldset in Collapse Text 7.2
Same name and namespace in other branches
- 6.2 collapse_text.module \theme_collapse_text_fieldset()
- 6 collapse_text.module \theme_collapse_text_fieldset()
Theme a section of collapsible text. By default, this function calls the default 'theme_fieldset' implementation, but this function can be overridden to implement a custom theme just for collapsed text.
Parameters
$element: An associative array containing the properties of the element. Properties used: attributes, title, value, description, children, collapsible, collapsed
Return value
A themed HTML string representing the collapsed text.
1 theme call to theme_collapse_text_fieldset()
- _collapse_text_process_child_item in ./
collapse_text.module - process a child item.
File
- ./
collapse_text.module, line 625 - collapse_text is an input filter that allows text to be collapsible
Code
function theme_collapse_text_fieldset($element) {
return drupal_render_children($element['element']);
}