File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -128,6 +128,14 @@ The ``extended_type`` key of the tag is the type of field that this extension sh
128
128
be applied to. In your case, as you want to extend the ``Symfony\Component\Form\Extension\Core\Type\FileType ``
129
129
field type, you will use that as the ``extended_type ``.
130
130
131
+ .. tip ::
132
+
133
+ There is an optional tag attribute called ``priority ``, which
134
+ defaults to ``0 `` and controls the order in which the form
135
+ type extensions are loaded (the higher the priority, the earlier
136
+ an extension is loaded). This is useful when you need to guarantee
137
+ that one extension is loaded before or after another extension.
138
+
131
139
Adding the extension Business Logic
132
140
-----------------------------------
133
141
You can’t perform that action at this time.
0 commit comments