Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit340ec5f

Browse files
committed
Adding a note thanks to Stof
1 parent8d61eb6 commit340ec5f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎cookbook/form/create_form_type_extension.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,9 @@ tag:
127127
128128
..versionadded::2.8
129129
The ``extended_type`` option is new in Symfony 2.8. Before, the option was
130-
called ``alias``.
130+
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).
131133

132134
The ``extended_type`` key of the tag is the type of field that this extension should
133135
be applied to. In your case, as you want to extend the ``Symfony\Component\Form\Extension\Core\Type\FileType``

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp