-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Form] document changes to form type interfaces #16752
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
Conversation
xabbuh
commented
Nov 30, 2015
Q | A |
---|---|
Fixed tickets | #13407, #16024, #16724, #16749 |
License | MIT |
@@ -114,6 +114,12 @@ UPGRADE FROM 2.x to 3.0 | |||
|
|||
### Form | |||
|
|||
* The `getBlockPrefix()` method was added to the `FormTypeInterface` in favor of | |||
the `getName()` method which has been has been removed. |
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.
In general, the sentence is rather as follows:
The `FormTypeInterface::getName()` method has been removed in favor of
the `FormTypeInterface::getBlockPrefix()` method.
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.
@ogizanagi the BC break in 3.0 is that the method was added in the interface
@@ -114,6 +114,12 @@ UPGRADE FROM 2.x to 3.0 | |||
|
|||
### Form | |||
|
|||
* The `getBlockPrefix()` method was added to the `FormTypeInterface` in replacement of | |||
the `getName()` method which has been has been removed. | |||
* The `configureOptions()` method was added to the `FormTypeInterface` in replacement |
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.
It would be good to show the different signature to reflect the change from OptionsResolverInterface to OptionsResolver
Thank you @xabbuh. |
This PR was submitted for the master branch but it was merged into the 3.0 branch instead (closes #16752). Discussion ---------- [Form] document changes to form type interfaces | Q | A | ------------- | --- | Fixed tickets | #13407, #16024, #16724, #16749 | License | MIT Commits ------- b297a0c [Form] document changes to form type interfaces