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', ])
2.1m questions
2.1m answers
60 comments
57.0k users