| Versionen | |
|---|---|
| drupal6 – drupal7 | theme_hidden($element) |
Format a hidden form field.
$element An associative array containing the properties of the element.
A themed HTML string representing the hidden form field.
includes/
<?php
function theme_hidden($element) {
return '<input type="hidden" name="' . $element['#name'] . '" id="' . $element['#id'] . '" value="' . check_plain($element['#value']) . "\" " . drupal_attributes($element['#attributes']) . " />\n";
}
?>
Kommentare
Kommentar hinzufügen