I think this method should be present in the form class.
My goal was to dinamically change validation_groups of the Entity somewhere
before form validation.
And here is my solution: Entity with 2 validation groups and
FormEventSubscriber with Form:setAttribute()
more details here https://gist.github.com/1068357

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to symfony-devs@googlegroups.com
To unsubscribe from this group, send email to
symfony-devs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to