Issue #2717921 by gaurav.kapoor, drnikki, subhashuyadav, pratik_specbee, hmendes, jhodgdon, joachim, effulgentsia, shashikant_chauhan, Wim Leers, larowlan: undocumented #has_garbage_value property of render elements

merge-requests/2168/head
Alex Pott 2022-04-26 16:36:09 +01:00
parent 464291fb69
commit b686177005
No known key found for this signature in database
GPG Key ID: BDA67E7EE836E5CE
2 changed files with 6 additions and 0 deletions

View File

@ -56,6 +56,9 @@ use Drupal\Core\Url;
* this suffix are wrapped in a <span> 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

View File

@ -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.