handle menu with new menuBuilder api

This commit is contained in:
2018-06-08 17:49:35 +02:00
parent 6e8982958e
commit b0ee67f8b5
4 changed files with 97 additions and 10 deletions

View File

@@ -0,0 +1,8 @@
services:
Chill\ActivityBundle\Menu\MenuBuilder:
arguments:
$authorizationHelper: '@Chill\MainBundle\Security\Authorization\AuthorizationHelper'
$tokenStorage: '@Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface'
$translator: '@Symfony\Component\Translation\TranslatorInterface'
tags:
- { name: 'chill.menu_builder' }