diff --git a/core/lib/Drupal/Core/Render/Element/FormElement.php b/core/lib/Drupal/Core/Render/Element/FormElement.php index f911d72e859..17e2a1d3506 100644 --- a/core/lib/Drupal/Core/Render/Element/FormElement.php +++ b/core/lib/Drupal/Core/Render/Element/FormElement.php @@ -56,6 +56,9 @@ use Drupal\Core\Url; * this suffix are wrapped in a element, so the value should not * contain block level HTML. Any HTML must also be valid, i.e. any tags * introduce inside this suffix must also be terminated within the suffix. + * - #value: (mixed) A value that cannot be edited by the user. + * - #has_garbage_value: (bool) Internal only. Set to TRUE to indicate that the + * #value property of an element should not be used or processed. * - #input: (bool, internal) Whether or not the element accepts input. * - #parents: (string[], read-only) Array of names of the element's parents * for purposes of getting values out of $form_state. See also diff --git a/core/lib/Drupal/Core/Render/Element/RenderElement.php b/core/lib/Drupal/Core/Render/Element/RenderElement.php index 35814589b3d..9f0374b3a9e 100644 --- a/core/lib/Drupal/Core/Render/Element/RenderElement.php +++ b/core/lib/Drupal/Core/Render/Element/RenderElement.php @@ -66,6 +66,9 @@ use Drupal\Core\Url; * in some cases. See also #attached. * - #defaults_loaded: (bool) Set to TRUE during rendering when the defaults * for the element #type have been added to the element. + * - #value: (mixed) A value that cannot be edited by the user. + * - #has_garbage_value: (bool) Internal only. Set to TRUE to indicate that the + * #value property of an element should not be used or processed. * - #id: (string) The HTML ID on the element. This is automatically set for * form elements, but not for all render elements; you can override the * default value or add an ID by setting this property.