File tree Expand file tree Collapse file tree 1 file changed +20
-20
lines changed Expand file tree Collapse file tree 1 file changed +20
-20
lines changed Original file line number Diff line number Diff line change @@ -29,26 +29,6 @@ The ``file`` type represents a file input in your form.
2929| Class | :class: `Symfony\\ Component\\ Form\\ Extension\\ Core\\ Type\\ FileType ` |
3030+-------------+---------------------------------------------------------------------+
3131
32- Overridden Options
33- ------------------
34-
35- .. include :: /reference/forms/types/options/compound_type.rst.inc
36-
37- data_class
38- ~~~~~~~~~~
39-
40- **type **: ``string `` **default **: :class: `Symfony\\ Component\\ HttpFoundation\\ File\\ File `
41-
42- This option sets the appropriate file-related data mapper to be used by the type.
43-
44- empty_data
45- ~~~~~~~~~~
46-
47- **type **: ``mixed `` **default **: ``null ``
48-
49- This option determines what value the field will return when the submitted
50- value is empty.
51-
5232Basic Usage
5333-----------
5434
@@ -112,6 +92,26 @@ multiple
11292
11393When set to true, the user will be able to upload multiple files at the same time.
11494
95+ Overridden Options
96+ ------------------
97+
98+ .. include :: /reference/forms/types/options/compound_type.rst.inc
99+
100+ data_class
101+ ~~~~~~~~~~
102+
103+ **type **: ``string `` **default **: :class: `Symfony\\ Component\\ HttpFoundation\\ File\\ File `
104+
105+ This option sets the appropriate file-related data mapper to be used by the type.
106+
107+ empty_data
108+ ~~~~~~~~~~
109+
110+ **type **: ``mixed `` **default **: ``null ``
111+
112+ This option determines what value the field will return when the submitted
113+ value is empty.
114+
115115Inherited Options
116116-----------------
117117
You can’t perform that action at this time.
0 commit comments