Rozig Rozig - 2 months ago 11
PHP Question

Customize Download in the list view Sonata Admin

I want to remove csv, xml and json formats from Download. Where can i customize this page?

enter image description here


All you have to do right now is override the getExportFormats method of your admin, so that it returns the list of formats that you really want.

In the future, you will be able to configure that globally thanks to this contribution I made.