Closed
Description
Some form types got some extra variables or override the common form variables. In fact, those common variables are the variables set on the main form type (Field
).
How to document it
These variables should get documented in a new section in each Form Type article. They should get the same format as the Form Type Options. Inherit options should not get documented, as those are already documented in reference/form/twig_reference
.
The form variables
The variables link to the code where they are defined. Try to find out a use case of it and possible values and write some small description about those (with some link to the option which is used for the variable). A code example would be great too!
Checkbox
Choice
Collection
DateTime
Date
Money
Radio
Time