1

如何在easyadmin菜单的url中添加树枝链接?

easy_admin.yml :

design:  
      menu:
          - ...
          - { label: 'Language', icon: language, children: [{ label: FR,  url: 'easy_admin/Language/fr.html.twig'}, { label: EN, url: 'easy_admin/Language/en.html.twig' }] } //Doesn't work

fr.html.twig :

{{ path('setlocale', {'language': 'fr'}) }}
4

0 回答 0