Skip to content

Commit

Permalink
bug #6368 [cookbook] Made list of form types more consistent (AAstakhov)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
weaverryan committed Mar 17, 2016
2 parents e87e9ee + 993fc45 commit c0a441e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cookbook/form/create_form_type_extension.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit c0a441e

Please sign in to comment.