I'm working with the KnpMenuBundle and I need to customize a link that has the route 'uri'=>'#'. How can I achieve this?
The desired link should be styled 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 as:
<a class="asdfasdf" href="#">Settlements</a>
Here's my code snippet:
$menu->addChild($name, $array(
'uri' => '#'
));
Thank you!