Commit 35c408c
committed
minor #20464 [Form] dynamic_form_modification - Update namespace related to EventSubscriber (nachoaguirre)
This PR was submitted for the 7.2 branch but it was merged into the 6.4 branch instead.
Discussion
----------
[Form] dynamic_form_modification - Update namespace related to EventSubscriber
Update the namespace of the class to subscribe to events. Currently it points to \EventListener, but I find it more coherent to associate it with \EventSubscriber.
Link: https://symfony.com/doc/current/form/dynamic_form_modification.html#adding-an-event-subscriber-to-a-form-class
From:
<img width="612" alt="image" src="https://github.com/user-attachments/assets/aef1ef30-0fbf-4c5a-9b32-1fb4217e1ae0">
To:
<img width="612" alt="image" src="https://github.com/user-attachments/assets/9e7ab86c-d6fe-4a18-863d-dbc4329b38ae">
Commits
-------
05ff525 Update dynamic_form_modification.rst1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
141 | | - | |
142 | | - | |
| 141 | + | |
| 142 | + | |
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
175 | | - | |
| 175 | + | |
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
| |||
0 commit comments