I am using the KnpMenuBundle and I am needing to add custom css and an tag to one of the links that have with the route of 'uri'=>'#'. How would I accomplish this?
I want the link to look like this:
<a href="#" class="js-sub-menu-toggle">
<span class="text">Settlements</span><i class="toggle-icon fa fa-angle-left"></i>
</a>
Currently the link is rendering like this:
<a class="asdfasdf" href="#">Settlements</a>
Here is my code:
$menu->addChild($name, $array(
'uri' => '#'
));
Thanks!