8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d61eb6 commit 340ec5fCopy full SHA for 340ec5f
cookbook/form/create_form_type_extension.rst
@@ -127,7 +127,9 @@ tag:
127
128
.. versionadded:: 2.8
129
The ``extended_type`` option is new in Symfony 2.8. Before, the option was
130
- called ``alias``.
+ called ``alias``. If you're a bundle author and need to support multiple Symfony
131
+ versions, specify *both* ``extended_type`` and ``alias`` (having both will prevent
132
+ any deprecation warnings).
133
134
The ``extended_type`` key of the tag is the type of field that this extension should
135
be applied to. In your case, as you want to extend the ``Symfony\Component\Form\Extension\Core\Type\FileType``
0 commit comments