Pass checker, doctrine and facebook to constructor
# Parameters configuration
# Parameters configuration
+#TODO: move veranda project related stuff (name, mail, locales, logo, title, class replacement, etc) in a veranda/config/packages/veranda.yaml instead of this bundle
parameters:
# RapsysTree configuration
parameters:
# RapsysTree configuration
name: '%rapsystree.contact.name%'
# Default replacement
default:
name: '%rapsystree.contact.name%'
# Default replacement
default:
- admin: 'ROLE_ADMIN'
- civility: 'Mister'
+ locales: '%rapsystree.locales%'
languages: '%rapsystree.languages%'
# Default context
context:
languages: '%rapsystree.languages%'
# Default context
context:
services:
# Register tree controller
Rapsys\TreeBundle\Controller\TreeController:
services:
# Register tree controller
Rapsys\TreeBundle\Controller\TreeController:
- arguments: [ '@service_container', '@router', '@request_stack', '@translator', '@twig' ]
+ arguments: [ '@security.authorization_checker', '@service_container', '@doctrine', '@rapsyspack.facebook_util', '@router', '@security.helper', '@request_stack', '@translator', '@twig' ]
tags: [ 'controller.service_arguments' ]
# Register tree repository factory
Rapsys\TreeBundle\Factory:
tags: [ 'controller.service_arguments' ]
# Register tree repository factory
Rapsys\TreeBundle\Factory: