Skip to content

Commit 2f64d2b

Browse files
committed
Merge branch '2.3' into 2.6
* 2.3: moving options below basic usage
2 parents effe563 + 0820635 commit 2f64d2b

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

reference/forms/types/file.rst

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff 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-
5232
Basic Usage
5333
-----------
5434

@@ -112,6 +92,26 @@ multiple
11292

11393
When 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+
115115
Inherited Options
116116
-----------------
117117

0 commit comments

Comments
 (0)