Skip to content

Commit 1b83b95

Browse files
committed
[Cookbook] Specify how to create a generic form type extension in the appropriate doc (got it from reference/dic_tags.html#form-type-extension)
1 parent bf1e44b commit 1b83b95

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cookbook/form/create_form_type_extension.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,9 @@ The ``alias`` key of the tag is the type of field that this extension should
129129
be applied to. In your case, as you want to extend the ``file`` field type,
130130
you will use ``file`` as an alias.
131131

132+
If you want to apply the extension to all field types, you can specify ``form``
133+
as alias and value returned by ``getExtendedType()``.
134+
132135
Adding the extension Business Logic
133136
-----------------------------------
134137

0 commit comments

Comments
 (0)