Skip to content

Commit c0a441e

Browse files
committed
bug #6368 [cookbook] Made list of form types more consistent (AAstakhov)
This PR was merged into the 2.8 branch. Discussion ---------- [cookbook] Made list of form types more consistent | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | 2.8+ | Fixed tickets | n/a Fixed content of inline code block 'email' to 'EmailType' accordingly to other form types in the list. Commits ------- 993fc45 Made list of types more consistent
2 parents e87e9ee + 993fc45 commit c0a441e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cookbook/form/create_form_type_extension.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ Generic Form Type Extensions
329329

330330
You can modify several form types at once by specifying their common parent
331331
(:doc:`/reference/forms/types`). For example, several form types natively
332-
available in Symfony inherit from the ``TextType`` form type (such as ``email``,
332+
available in Symfony inherit from the ``TextType`` form type (such as ``EmailType``,
333333
``SearchType``, ``UrlType``, etc.). A form type extension applying to ``TextType``
334334
(i.e. whose ``getExtendedType`` method returns ``TextType::class``) would apply
335335
to all of these form types.

0 commit comments

Comments
 (0)