function theme_hidden

7.x form.inc theme_hidden($variables)
6.x form.inc theme_hidden($element)

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.

File

drupal-6.x/includes/form.inc, line 2022

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";
}