From 73a2c2d41aeb19b24812bb9477e1afbff487978b Mon Sep 17 00:00:00 2001 From: Tchama Date: Thu, 16 Jul 2020 14:58:35 +0200 Subject: [PATCH] fix sf4 deprecated service alias definition --- Resources/config/services/form.yml | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/Resources/config/services/form.yml b/Resources/config/services/form.yml index e9b29363f..105429838 100644 --- a/Resources/config/services/form.yml +++ b/Resources/config/services/form.yml @@ -1,33 +1,25 @@ services: + Chill\PersonBundle\Form\PersonType: arguments: - '%chill_person.person_fields%' - '@Chill\PersonBundle\Config\ConfigPersonAltNamesHelper' tags: - - { name: form.type } - - chill.person.form.person_creation: - alias: 'Chill\PersonBundle\Form\PersonType' - deprecated: true - + - { name: form.type, alias: person_creation } + Chill\PersonBundle\Form\CreationPersonType: arguments: - '@chill.main.form.data_transformer.center_transformer' - '@Chill\PersonBundle\Config\ConfigPersonAltNamesHelper' tags: - - { name: form.type } - - chill.main.form.person_creation: - alias: 'Chill\PersonBundle\Form\CreationPersonType' - deprecated: true - + - { name: form.type, alias: person_creation } + chill.person.accompanying_period_closing_motive: class: Chill\PersonBundle\Form\Type\ClosingMotivePickerType arguments: $translatableStringHelper: '@Chill\MainBundle\Templating\TranslatableStringHelper' $chillEntityRenderExtension: '@Chill\MainBundle\Templating\Entity\ChillEntityRenderExtension' $closingMotiveRepository: '@Chill\PersonBundle\Repository\ClosingMotiveRepository' - tags: - { name: form.type, alias: closing_motive }