I've just added the KnpMenuBundle to my Symfony project. I also added Bootstrap to make it look nicer.
Now I want to create a Submenu or Dropdownmenu. Is there a simple example / way how to do this? I've searched a lot of examples but either they require an additional bundle or do not work
Update
I need to know how I have to add attributes to my menu children in order to render it with bootstrap
Best regards
Oliver
It's rather straightforward. For attributes, see the KnpMenu docs.
An example:
base.html.twig, which appears in templates with{% extends "base.html.twig" %}:Builder.php: