Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork5.3k
Update how to add custom Type#2725
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
New in sf2.3, update the way we have to use to add custom Type.
cookbook/form/unit_testing.rst Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
this should be indented one level less
wouterj commentedJun 13, 2013
I made some comments, but except from those I'm +1. What you need to do to fix those comments is going tohttp://github.com/metfan/symfony-docs/tree/patch-1 then go to the file, edit it and commit it. |
marekkalnik commentedJun 20, 2013
👍 |
xabbuh commentedJun 22, 2013
👍 This should fix#2485. |
velovint commentedJun 28, 2013
ship it |
weaverryan commentedJun 30, 2013
marekkalnik commentedJun 30, 2013
thanks@weaverryan ! |
Since 2.3, we can't use anymore $this->factory->addType() t add custom Type to factory. We have to use PreloadedExtension class.