From beceed47a38650a78ef4246dec92568f7a8576f4 Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Wed, 28 May 2014 19:55:03 +0200 Subject: [PATCH] add versionadded for the data collector form extension --- components/form/form_events.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/components/form/form_events.rst b/components/form/form_events.rst index 1b81360f529..b6f10e538ba 100644 --- a/components/form/form_events.rst +++ b/components/form/form_events.rst @@ -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 @@ -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.