Add missing form type wirings.

This commit is contained in:
Pol Dellaiera 2021-06-08 15:41:36 +02:00
parent 5b76338fb0
commit 2ba240525c
No known key found for this signature in database
GPG Key ID: D476DFE9C67467CA
2 changed files with 36 additions and 0 deletions

View File

@ -98,3 +98,8 @@ services:
autowire: true
autoconfigure: true
resource: '../Workflow/'
Chill\PersonBundle\Form\Type\:
resource: '../Form/Type'
tags:
- form.type

View File

@ -27,3 +27,34 @@ services:
$config: "%chill_person.accompanying_period_fields%"
tags:
- { name: form.type }
chill.person.form.type.pick_person:
class: Chill\PersonBundle\Form\Type\PickPersonType
arguments:
- "@chill.person.repository.person"
- "@security.token_storage"
- "@chill.main.security.authorization.helper"
- '@Symfony\Component\Routing\Generator\UrlGeneratorInterface'
- '@Symfony\Component\Translation\TranslatorInterface'
tags:
- { name: form.type }
Chill\PersonBundle\Form\Type\PersonAltNameType:
arguments:
$configHelper: '@Chill\PersonBundle\Config\ConfigPersonAltNamesHelper'
$translatableStringHelper: '@chill.main.helper.translatable_string'
tags:
- { name: form.type }
Chill\PersonBundle\Form\Type\PersonPhoneType:
arguments:
$phonenumberHelper: '@Chill\MainBundle\Phonenumber\PhonenumberHelper'
$em: '@Doctrine\ORM\EntityManagerInterface'
tags:
- { name: form.type }
Chill\PersonBundle\Form\Type\PhoneNumberType:
autowire: true
autoconfigure: true
tags:
- { name: form.type }