theme_hidden($element)
drupal/includes/form.inc, line 2094
Format a hidden form field.
$element An associative array containing the properties of the element.
A themed HTML string representing the hidden form field.
| Name | Description |
|---|---|
| Default theme implementations | Functions and templates that present output to the user, and can be implemented by themes. |
| 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";
}