File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed
Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ on all types for which ``FormType`` is the parent.
4848| | - `translation_domain `_ |
4949| | - `label_translation_parameters `_ |
5050| | - `attr_translation_parameters `_ |
51+ | | - `priority `_ |
5152+---------------------------+--------------------------------------------------------------------+
5253| Default invalid message | This value is not valid. |
5354+---------------------------+--------------------------------------------------------------------+
@@ -189,3 +190,5 @@ of the form type tree (i.e. it cannot be used as a form type on its own).
189190.. include :: /reference/forms/types/options/label_translation_parameters.rst.inc
190191
191192.. include :: /reference/forms/types/options/attr_translation_parameters.rst.inc
193+
194+ .. include :: /reference/forms/types/options/priority.rst.inc
Original file line number Diff line number Diff line change 1+ priority
2+ ~~~~~~~~
3+
4+ **type **: ``integer`` **default**: ``0 ``
5+
6+ Allows you to set the field rendering priority. This option will affect
7+ the view order only , sorting all fields in order of importance instead of
8+ simply numerical order, i.e. fields with higher priority will be rendered
9+ first, fields with lower priority will be rendered last and fields with
10+ equal priority will keep the original order.
You can’t perform that action at this time.
0 commit comments