Closed webdevilopers closed 9 years ago
This will be nice tip in the docs.
Done, see:
I left out the DoctrineORMAdmin
chapter
http://sonata-project.org/bundles/doctrine-orm-admin/master/doc/tutorial/creating_your_first_admin_class/defining_crud_controller.html.
since it doesn't feature a lot of code atm anyway.
Since the tab menu is part of the list action it should be mentioned in the docs that you can use the
configureTabMenu
method for adding filters. For instance:Should I create a PR for this section? http://sonata-project.org/bundles/admin/master/doc/reference/advanced.html#dropdowns-in-tab-menu
It could also be added to the custom
CRUDController
chapters:Example usage:
Source: http://russische-musik.vs137150.vserver.de/v/Sonata/AdminBundle/Controller/CRUDController:addFlash
Related to: