Skip to content

[Components][Form] Fixed version specific examples of some form events. #3886

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions components/form/form_events.rst
Original file line number Diff line number Diff line change
Expand Up @@ -108,13 +108,6 @@ the form.
| View data | Normalized data transformed using a view transformer |
+-----------------+------------------------------------------------------+

.. sidebar:: ``FormEvents::POST_SET_DATA`` in the Form component

The :class:`Symfony\\Component\\Form\\Extension\\DataCollector\\EventListener\\DataCollectorListener`
class is subscribed to listen to the ``FormEvents::POST_SET_DATA`` event
in order to collect information about the forms from the denormalized
model and view data.

2) Submitting a Form (``FormEvents::PRE_SUBMIT``, ``FormEvents::SUBMIT`` and ``FormEvents::POST_SUBMIT``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Expand Down Expand Up @@ -218,9 +211,6 @@ It can be used to fetch data after denormalization.

.. sidebar:: ``FormEvents::POST_SUBMIT`` in the Form component

The :class:`Symfony\\Component\\Form\\Extension\\DataCollector\\EventListener\\DataCollectorListener`
subscribes to the ``FormEvents::POST_SUBMIT`` event in order to collect
information about the forms.
The :class:`Symfony\\Component\\Form\\Extension\\Validator\\EventListener\\ValidationListener`
subscribes to the ``FormEvents::POST_SUBMIT`` event in order to
automatically validate the denormalized object, and update the normalized
Expand Down