-
-
Notifications
You must be signed in to change notification settings - Fork 142
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deprecate FormMapper::create #1068
Deprecate FormMapper::create #1068
Conversation
But the $formBuilder is not on that function of classification bundle. Can you show how to avoid deprecation / be compatible with blockbundle 5 on classification 4? |
Implementation is here: https://github.com/sonata-project/SonataAdminBundle/blob/4.x/src/Form/FormMapper.php#L194 Then, for ClassificationBundle to be compatible SonataAdmin 4 and 5, it will be:
But we could also look for getFormAdminType usage and see if we shouldn't deprecate this method. |
@jordisala1991, is it ok for you ? |
With your changes , |
Subject
I am targeting this branch, because {reason}.
See sonata-project/SonataAdminBundle#7265 (comment)
The only usage found is https://github.com/sonata-project/SonataClassificationBundle/blob/4.x/src/Block/Service/AbstractClassificationBlockService.php#L68
This can be replaced by the implementation
Changelog