-->

How to display top and side menu in SonataAdminBun

2020-07-13 07:30发布

问题:

There are no documents talk about that. Please help me. Thank you

回答1:

Admin top menu is created automatically based on group item in admin service definition. All admin services can be grouped and are displayed in top menu.

Example (see group="sonata_page" where sonata_page is name of menu group):

Admin side menu can be created with configureSideMenu() method in your admin service. Example