KNP Menu Symfony 4 Custom using twig template

I’m trying to create custom KNP Menu from knplabs/knp-menu-bundle using a template/html twig
But I can’t figure out how to do it even following the syfmony.com tutorial
Also I can do it by creating it as a service and using the MenuBuilder.php file.
How do I create a knp menu as service using a twig template?

Source: Symfony Questions

Was this helpful?

0 / 0

Leave a Reply 0

Your email address will not be published. Required fields are marked *