Customizing the menu
How to customize the sidebar menu
Decorate the sidebar menu

To customize the admin menu, you need to decorate the sylius_admin_ui.knp.menu_builder service.
Add submenu items

Now you can add submenu items:
🧠 Collapse your custom menu by default
It's possible to expand your parent menu category on page load by default. For that, you have to set the setExtra attribute like this:
However, ensure that you set the attribute in the parent menu, not in one of the child menu items.
Last updated