File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff 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
202201C) The ``FormEvents::POST_SUBMIT `` Event
203202........................................
Original file line number Diff line number Diff line change @@ -199,7 +199,7 @@ Handling the Form Submission
199199Next, you need a controller to handle the form. Start by creating a simple
200200controller 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;
You can’t perform that action at this time.
0 commit comments