Skip to content

Commit

Permalink
minor #3887 [Components][Form] add versionadded for the data collecto…
Browse files Browse the repository at this point in the history
…r form extension (xabbuh)

This PR was merged into the 2.4 branch.

Discussion
----------

[Components][Form] add versionadded for the data collector form extension

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | 2.4+
| Fixed tickets |

As @ahsio pointed out in #3886, the data collector extension was added to the Form component in Symfony 2.4.

Commits
-------

beceed4 add versionadded for the data collector form extension
  • Loading branch information
weaverryan committed Jun 7, 2014
2 parents f368523 + beceed4 commit ed496ae
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions components/form/form_events.rst
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,9 @@ the form.

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

.. versionadded:: 2.4
The data collector extension was introduced in Symfony 2.4.

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
Expand Down Expand Up @@ -218,6 +221,9 @@ It can be used to fetch data after denormalization.

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

.. versionadded:: 2.4
The data collector extension was introduced in Symfony 2.4.

The :class:`Symfony\\Component\\Form\\Extension\\DataCollector\\EventListener\\DataCollectorListener`
subscribes to the ``FormEvents::POST_SUBMIT`` event in order to collect
information about the forms.
Expand Down

0 comments on commit ed496ae

Please sign in to comment.