| 5 form.inc | theme_hidden($element) |
| 6 form.inc | theme_hidden( |
| 7 form.inc | theme_hidden($variables) |
| 8 form.inc | theme_hidden($variables) |
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()
File
- includes/
form.inc, line 2016
Code
function theme_hidden($element) {
return '<input type="hidden" name="' . $element['#name'] . '" id="' . $element['#id'] . '" value="' . check_plain($element['#value']) . "\" " . drupal_attributes($element['#attributes']) . " />\n";
}
Login or register to post comments