Skip to content

Conversation

nachoaguirre
Copy link
Contributor

@nachoaguirre nachoaguirre commented Dec 11, 2024

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:
image

To:
image

@javiereguiluz
Copy link
Member

Yes, this is better. Ignacio, thanks and congrats on your first Symfony Docs contribution 🎉

And sorry it took us so long to merge this.

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
@javiereguiluz javiereguiluz changed the base branch from 7.2 to 6.4 April 3, 2025 07:39
@javiereguiluz javiereguiluz merged commit 35c408c into symfony:6.4 Apr 3, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants