Substituted old menu trough KNP menu bundle

This commit is contained in:
Kevin Frantz
2018-09-06 11:02:22 +02:00
parent 36b9020c01
commit 8e031de88e
8 changed files with 276 additions and 57 deletions

View File

@@ -30,7 +30,11 @@ class Menu
public function userTopbar(RequestStack $request): ItemInterface
{
$menu = $this->factory->createItem('root');
$menu = $this->factory->createItem('root', array(
'childrenAttributes' => array(
'class' => 'navbar-nav mr-auto',
),
));
$this->dispatcher->dispatch(
UserMenuEvent::EVENT,