【发布时间】:2016-07-19 12:20:35
【问题描述】:
如何在没有奏鸣曲管理员的情况下为我的自定义路线设置自定义角色,但使用奏鸣曲管理菜单生成器。
sonata.admin.group.content:
label: test
label_catalogue: test
icon: '<i class="fa fa-file-text"></i>'
items:
- route: custom_route_1
label: 'custom_route_1'
- route: custom_route_2
label: 'custom_route_2'
- route: custom_route_3
label: 'custom_route_3'
我想为菜单的每个元素设置单独的角色。
【问题讨论】:
标签: php symfony sonata-admin sonata