theme_checkboxes($element)theme_checkboxes($variables)Returns HTML for a set of checkbox form elements.
$variables An associative array containing:
drupal/includes/form.inc, line 2621
<?php
function theme_checkboxes($variables) {
$element = $variables['element'];
$attributes = array();
if (!empty($element['#id'])) {
$attributes['id'] = $element['#id'];
}
$attributes['class'] = 'form-checkboxes';
if (!empty($element['#attributes']['class'])) {
$attributes['class'] .= ' ' . implode(' ', $element['#attributes']['class']);
}
return '<div' . drupal_attributes($attributes) . '>' . (!empty($element['#children']) ? $element['#children'] : '') . '</div>';
}
?>