theme_hidden

Versions
mediamosa-21
theme_hidden($variables)

Theme a hidden form element.

Parameters

$variables An associative array containing:

  • element: An associative array containing the properties of the element. Properties used: #name, #value, #attributes.

Return value

A themed HTML string representing the form element.

Related topics

Code

includes/form.inc, line 2736

<?php
function theme_hidden($variables) {
  $element = $variables['element'];
  return '<input type="hidden" name="' . $element['#name'] . '" id="' . $element['#id'] . '" value="' . check_plain($element['#value']) . "\" " . drupal_attributes($element['#attributes']) . " />\n";
}
?>