8000 minor #8258 Update events.rst (afurculita) · symfony/symfony-docs@c93f8c9 · GitHub
[go: up one dir, main page]

Skip to content

Commit c93f8c9

Browse files
committed
minor #8258 Update events.rst (afurculita)
This PR was submitted for the 3.3 branch but it was merged into the 2.8 branch instead (closes #8258). Discussion ---------- Update events.rst There is no more a `collection` form type, but a `Symfony\Component\Form\Extension\Core\Type\CollectionType` one. Commits ------- 3752c0b Update events.rst
2 parents 6924412 + 3752c0b commit c93f8c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

form/events.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ View data ``null``
8484

8585
.. sidebar:: ``FormEvents::PRE_SET_DATA`` in the Form component
8686

87-
The ``collection`` form type relies on the
88-
``Symfony\Component\Form\Extension\Core\EventListener\ResizeFormListener``
87+
The ``Symfony\Component\Form\Extension\Core\Type\CollectionType`` form type relies
88+
on the ``Symfony\Component\Form\Extension\Core\EventListener\ResizeFormListener``
8989
subscriber, listening to the ``FormEvents::PRE_SET_DATA`` event in order
9090
to reorder the form's fields depending on the data from the pre-populated
9191
object, by removing and adding all form rows.

0 commit comments

Comments
 (0)
0