theme_item($element)
drupal/includes/form.inc, line 1281
Format a form item.
$element An associative array containing the properties of the element. Properties used: title, value, description, required, error
A themed HTML string representing the form item.
| Name | Description |
|---|---|
| Form generation | Functions to enable the processing and display of HTML forms. |
function theme_item($element) {
return theme('form_element', $element, $element['#value'] . $element['#children']);
}