Skip to content

Commit a111d03

Browse files
committed
Merge branch '2.3' into 2.7
2 parents de7c9e7 + 979336b commit a111d03

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

components/form/form_events.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -194,10 +194,9 @@ View data Same as in ``FormEvents::POST_SET_DATA``
194194

195195
.. sidebar:: ``FormEvents::SUBMIT`` in the Form component
196196

197-
The ``Symfony\Component\Form\Extension\Core\EventListener\ResizeFormListener``
198-
subscribes to the ``FormEvents::SUBMIT`` event in order to remove the
199-
fields that need to be removed whenever manipulating a collection of forms
200-
for which ``allow_delete`` has been enabled.
197+
The ``Symfony\Component\Form\Extension\Core\EventListener\FixUrlProtocolListener``
198+
subscribes to the ``FormEvents::SUBMIT`` event in order to prepend a default
199+
protocol to URL fields that were submitted without a protocol.
201200

202201
C) The ``FormEvents::POST_SUBMIT`` Event
203202
........................................

cookbook/doctrine/registration_form.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ Handling the Form Submission
199199
Next, you need a controller to handle the form. Start by creating a simple
200200
controller for displaying the registration form::
201201

202-
// src/AppBundle/Controller/AccountController.php
202+
// src/AppBundle/Controller/RegistrationController.php
203203
namespace AppBundle\Controller;
204204

205205
use Symfony\Bundle\FrameworkBundle\Controller\Controller;

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