Is there a way to addChild not on the end of the menu? If I have:
And I want add blue before Yellow?
$menu = $event->getMenu(); $menu->getChild('colors') ->addChild('blue', [ 'route' => 'blue_link', ])
1.4m articles
1.4m replys
5 comments
57.0k users