function theme_optionwidgets_select in Content Construction Kit (CCK) 6.3
Same name and namespace in other branches
- 6 modules/optionwidgets/optionwidgets.module \theme_optionwidgets_select()
- 6.2 modules/optionwidgets/optionwidgets.module \theme_optionwidgets_select()
FAPI themes for optionwidgets.
The select, checkboxes or radios are already rendered by the select, checkboxes, or radios themes and the HTML output lives in $element['#children']. Override this theme to make custom changes to the output.
$element['#field_name'] contains the field name $element['#delta] is the position of this element in the group
File
- modules/
optionwidgets/ optionwidgets.module, line 445 - Defines selection, check box and radio button widgets for text and numeric fields.
Code
function theme_optionwidgets_select($element) {
return $element['#children'];
}