File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -127,9 +127,10 @@ which HTML form tag(s) is rendered for that field.
127127
128128.. versionadded :: 2.8
129129 To denote the form type, you have to use the fully qualified class name - like
130- TextType::class in PHP 5.5+ or ``Symfony\Component\Form\Extension\Core\Type\TextType ``.
130+ `` TextType::class `` in PHP 5.5+ or ``Symfony\Component\Form\Extension\Core\Type\TextType ``.
131131 Before Symfony 2.8, you could use an alias for each type like ``text `` or
132- ``date ``. For more details, see the `2.8 UPGRADE Log `_.
132+ ``date ``. The old alias syntax will still work until Symfony 3.0. For more details,
133+ see the `2.8 UPGRADE Log `_.
133134
134135Finally, you added a submit button with a custom label for submitting the form to
135136the server.
Original file line number Diff line number Diff line change 113113 <service id =" app.image_type_extension"
114114 class =" AppBundle\Form\Extension\ImageTypeExtension"
115115 >
116- <tag name =" form.type_extension" extended_type =" Symfony\Component\Form\Extension\Core\Type\FileType" />
116+ <tag name =" form.type_extension" extended-type =" Symfony\Component\Form\Extension\Core\Type\FileType" />
117117 </service >
118118
119119 .. code-block :: php
Original file line number Diff line number Diff line change @@ -65,3 +65,5 @@ Supported Field Types
6565The following field types are natively available in Symfony:
6666
6767.. include :: /reference/forms/types/map.rst.inc
68+
69+ .. _`2.8 UPGRADE Log` : https://github.com/symfony/symfony/blob/2.8/UPGRADE-2.8.md#form
You can’t perform that action at this time.
0 commit comments