How to customize KNPMenuBundle?
I can\'t figure out how to add an image or a span tag using the KnpMenuBundle.
I simply want this:
To simply add classes and other HTML attributes (for example, to integrate the menù with Twitter Bootstrap addind its classes and IDs), you can use the methods provided for that sort of customization.
Here are some useful resources:
KnpMenuBundles provides some documented methods like setAttributes, selLinkAttirbute or setLabelAttribute (and other methods too) that are useful to customize the menù rendering.