Skip to content
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

Stop extending AbstractAdmin::getExportFields() #1254

Merged
merged 1 commit into from
Oct 13, 2020

Conversation

phansys
Copy link
Member

@phansys phansys commented Oct 13, 2020

Subject

Stop extending AbstractAdmin::getExportFields(), since this method is marked as final.

I am targeting this branch, because this change respects BC.

Changelog

### Fixed
- Deprecation about the extension of `AbstractAdmin::getExportFields()` method in `UserAdmin`.

@phansys phansys added the patch label Oct 13, 2020
@phansys phansys marked this pull request as ready for review October 13, 2020 20:25
@phansys phansys requested a review from a team October 13, 2020 20:25
Copy link
Contributor

@greg0ire greg0ire left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like this also will have the side effect of making extensions added to the UserAdmin able to change export fields. Link for the lazy: https://github.com/sonata-project/SonataAdminBundle/blob/6d32a6fc4e285dfe6ae32af6d2428d122e33e9c9/src/Admin/AbstractAdmin.php#L665-L676

@jordisala1991 jordisala1991 merged commit b5d0729 into sonata-project:4.x Oct 13, 2020
@jordisala1991
Copy link
Member

Thank you @phansys

@phansys phansys deleted the admin_export_fields branch October 13, 2020 20:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants