3 namespace Drupal\Core\Render\Element;
6 * Provides a form element for storage of internal information.
8 * Unlike \Drupal\Core\Render\Element\Hidden, this information is not sent to
9 * the browser in a hidden form field, but only stored in the form array for use
10 * in validation and submit processing.
13 * - #value: The value of the form element that cannot be edited by the user.
17 * $form['entity_id'] = array('#type' => 'value', '#value' => $entity_id);
20 * @FormElement("value")
22 class Value extends FormElement {
27 public function getInfo() {