How to display top and side menu in SonataAdminBundle?

耗尽温柔 提交于 2019-12-06 04:16:09

问题


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



来源:https://stackoverflow.com/questions/14837194/how-to-display-top-and-side-menu-in-sonataadminbundle

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!