Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to add items to menus in a sorted way #380

Open
B4rb4ross4 opened this issue May 23, 2023 · 1 comment
Open

Add ability to add items to menus in a sorted way #380

B4rb4ross4 opened this issue May 23, 2023 · 1 comment

Comments

@B4rb4ross4
Copy link
Contributor

If you want to register menu entries in a modularized application like described in https://symfony.com/bundles/KnpMenuBundle/current/events.html the menu items will be added in the order the event listeners are executed. So basically random from an application standpoint. When adding menu items by event listeners I need to be able to control the order of the menu items when adding them, because at menu retrieval the information encapsulated in a module is no longer known.

@B4rb4ross4
Copy link
Contributor Author

My suggestion: #381

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant