Skip to content

[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

Closed
wants to merge 1 commit into from

Conversation

xabbuh
Copy link
Member

@xabbuh 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.
Copy link
Contributor

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.

Copy link
Member

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
Copy link
Contributor

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

@stof
Copy link
Member

stof commented Dec 5, 2015

Thank you @xabbuh.

stof added a commit that referenced this pull request Dec 5, 2015
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
@stof stof closed this Dec 5, 2015
@xabbuh xabbuh deleted the form-upgrade branch October 11, 2017 11:33
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.

5 participants