Skip to content

Commit d131449

Browse files
committed
several other tweaks
1 parent feb68dd commit d131449

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

book/forms.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,10 @@ which HTML form tag(s) is rendered for that field.
127127

128128
.. versionadded:: 2.8
129129
To denote the form type, you have to use the fully qualified class name - like
130-
TextType::class in PHP 5.5+ or ``Symfony\Component\Form\Extension\Core\Type\TextType``.
130+
``TextType::class`` in PHP 5.5+ or ``Symfony\Component\Form\Extension\Core\Type\TextType``.
131131
Before Symfony 2.8, you could use an alias for each type like ``text`` or
132-
``date``. For more details, see the `2.8 UPGRADE Log`_.
132+
``date``. The old alias syntax will still work until Symfony 3.0. For more details,
133+
see the `2.8 UPGRADE Log`_.
133134

134135
Finally, you added a submit button with a custom label for submitting the form to
135136
the server.

cookbook/form/create_form_type_extension.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ tag:
113113
<service id="app.image_type_extension"
114114
class="AppBundle\Form\Extension\ImageTypeExtension"
115115
>
116-
<tag name="form.type_extension" extended_type="Symfony\Component\Form\Extension\Core\Type\FileType" />
116+
<tag name="form.type_extension" extended-type="Symfony\Component\Form\Extension\Core\Type\FileType" />
117117
</service>
118118
119119
.. code-block:: php

reference/forms/types.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,3 +65,5 @@ Supported Field Types
6565
The following field types are natively available in Symfony:
6666

6767
.. include:: /reference/forms/types/map.rst.inc
68+
69+
.. _`2.8 UPGRADE Log`: https://github.com/symfony/symfony/blob/2.8/UPGRADE-2.8.md#form

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy