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 @@ -27,26 +27,6 @@ The ``file`` type represents a file input in your form.
2727| Class | :class: `Symfony\\ Component\\ Form\\ Extension\\ Core\\ Type\\ FileType ` |
2828+-------------+---------------------------------------------------------------------+
2929
30- Overridden Options
31- ------------------
32-
33- .. include :: /reference/forms/types/options/compound_type.rst.inc
34-
35- data_class
36- ~~~~~~~~~~
37-
38- **type **: ``string `` **default **: :class: `Symfony\\ Component\\ HttpFoundation\\ File\\ File `
39-
40- This option sets the appropriate file-related data mapper to be used by the type.
41-
42- empty_data
43- ~~~~~~~~~~
44-
45- **type **: ``mixed `` **default **: ``null ``
46-
47- This option determines what value the field will return when the submitted
48- value is empty.
49-
5030Basic Usage
5131-----------
5232
@@ -97,6 +77,26 @@ before using it directly.
9777Read the :doc: `cookbook </cookbook/doctrine/file_uploads >` for an example
9878of how to manage a file upload associated with a Doctrine entity.
9979
80+ Overridden Options
81+ ------------------
82+
83+ .. include :: /reference/forms/types/options/compound_type.rst.inc
84+
85+ data_class
86+ ~~~~~~~~~~
87+
88+ **type **: ``string `` **default **: :class: `Symfony\\ Component\\ HttpFoundation\\ File\\ File `
89+
90+ This option sets the appropriate file-related data mapper to be used by the type.
91+
92+ empty_data
93+ ~~~~~~~~~~
94+
95+ **type **: ``mixed `` **default **: ``null ``
96+
97+ This option determines what value the field will return when the submitted
98+ value is empty.
99+
100100Inherited Options
101101-----------------
102102
You can’t perform that action at this time.
0 commit comments