diff --git a/Resources/config/services/form.yml b/Resources/config/services/form.yml index b6ee8fb6c..35d527726 100644 --- a/Resources/config/services/form.yml +++ b/Resources/config/services/form.yml @@ -70,16 +70,21 @@ services: class: Chill\MainBundle\Form\Type\Export\ExportType tags: - { name: form.type } + arguments: + - '@Chill\MainBundle\Export\ExportManager' chill.main.form.pick_formatter_type: class: Chill\MainBundle\Form\Type\Export\PickFormatterType tags: - { name: form.type } + arguments: + - '@Chill\MainBundle\Export\ExportManager' chill.main.form.pick_centers_type: class: Chill\MainBundle\Form\Type\Export\PickCenterType arguments: - "@security.token_storage" + - '@Chill\MainBundle\Export\ExportManager' - "@chill.main.security.authorization.helper" tags: - { name: form.type } @@ -88,6 +93,8 @@ services: class: Chill\MainBundle\Form\Type\Export\FormatterType tags: - { name: form.type } + arguments: + - '@Chill\MainBundle\Export\ExportManager' chill.main.form.date_type: class: Chill\MainBundle\Form\Type\ChillDateType