Add several Menu using internal services and models.
Is there an existing issue for this?
- [X] I have searched the existing issues
Is your feature request related to a problem? Please describe the problem.
im trying to create a sidemenu beside the exsiting one , my layout demands a secondary sidemenu that i want it to use the same functionaliy of exsitsnig MainMenu , MenuProvider , and IMenuManager.
i created a sidemenucontributer for that matter but there was no documentation to manually use the new menu contributer instread of the main one.
i put an image to show my need better :
sorry beforehand for weak illustration
the red lines are the menu item i want to be added by the new menu contributer i alreadt created the layout and a customsidemenuComponent for it but i dont know how to add the new menuItem list to it
the customsidemenuComponent inherits MainHeader component from lepton Theme but it does not get a Menu parameter.
Describe the solution you'd like
if there would be a service that get the contributor and returned a list of menu item , it would ease the process a lot.
currently i was unable to find any suitable docs for this need.
i genuinely accepts any thoughts on this.
Thanks !
Additional context
No response