Skip to content

Commit 993fc45

Browse files
committed
Made list of types more consistent
Fixed content of inline code block 'email' to 'EmailType' accordingly to other form types in the list.
1 parent e87e9ee commit 993fc45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: 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)