| Versions | |
|---|---|
| 4.7 – 6 | theme_item($element) |
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.
includes/
<?php
function theme_item($element) {
return theme('form_element', $element, $element['#value'] . $element['#children']);
}
?>