From 993fc454691d72878d0fa73f7b1be4dabde9fd28 Mon Sep 17 00:00:00 2001 From: Andrey Astakhov Date: Mon, 14 Mar 2016 19:18:32 +0100 Subject: [PATCH] Made list of types more consistent Fixed content of inline code block 'email' to 'EmailType' accordingly to other form types in the list. --- cookbook/form/create_form_type_extension.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbook/form/create_form_type_extension.rst b/cookbook/form/create_form_type_extension.rst index e9e0ed22248..3750cf9f7ef 100644 --- a/cookbook/form/create_form_type_extension.rst +++ b/cookbook/form/create_form_type_extension.rst @@ -329,7 +329,7 @@ Generic Form Type Extensions You can modify several form types at once by specifying their common parent (:doc:`/reference/forms/types`). For example, several form types natively -available in Symfony inherit from the ``TextType`` form type (such as ``email``, +available in Symfony inherit from the ``TextType`` form type (such as ``EmailType``, ``SearchType``, ``UrlType``, etc.). A form type extension applying to ``TextType`` (i.e. whose ``getExtendedType`` method returns ``TextType::class``) would apply to all of these form types.