theme_checkboxes($element)
drupal/includes/form.inc, line 965
Format a set of checkboxes.
$element An associative array containing the properties of the element.
A themed HTML string representing the checkbox set.
| Name | Description |
|---|---|
| Form generation | Functions to enable output of HTML forms and form elements. |
function theme_checkboxes($element) {
if ($element['#title'] || $element['#description']) {
return theme('form_element', $element['#title'], $element['#children'], $element['#description'], NULL, $element['#required'], form_get_error($element));
}
else {
return $element['#children'];
}
}