function theme_hidden
Same name and namespace in other branches
- 7.x drupal-7.x/includes/form.inc \theme_hidden()
Format a hidden form field.
Parameters
$element: An associative array containing the properties of the element. Properties used: value, edit
Return value
A themed HTML string representing the hidden form field.
Related topics
1 theme call to theme_hidden()
- theme_token in drupal-6.x/
includes/ form.inc - Format a form token.
Archivo
- drupal-6.x/
includes/ form.inc, line 2022
Código
function theme_hidden($element) {
return '<input type="hidden" name="' . $element['#name'] . '" id="' . $element['#id'] . '" value="' . check_plain($element['#value']) . "\" " . drupal_attributes($element['#attributes']) . " />\n";
}