theme_hidden($element)
drupal/includes/form.inc, line 1390
Format a hidden form field.
$element An associative array containing the properties of the element. Properties used: value, edit
A themed HTML string representing the hidden form field.
| Name | Description |
|---|---|
| Form generation | Functions to enable the processing and display of HTML forms. |
function theme_hidden($element) {
return '<input type="hidden" name="'. $element['#name'] . '" id="'. $element['#id'] . '" value="'. check_plain($element['#value']) ."\" " . drupal_attributes($element['#attributes']) ." />\n";
}