mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Introduce a new validator that ensures a third party has an email address, including the corresponding translation for error messaging and unit tests to verify its functionality.
ThirdParty Module
This module add third parties to chill.
Those parties are elements which can be handled in other entities: people, contacts, etc.
Each third party is associated to multiple types, which can help to filter parties in element form. Exemple: do not show list of an hospital where you should display only doctors.
How to add a third party type
Create a service which implements Chill\ThirdPartyBundle\ThirdPartyType\ThirdPartyProviderInterface
and tag it with: chill_3party.provider
:
services:
Cire\CireBundle\ThirdPartyType\NotarisType:
tags:
- { name: chill_3party.provider }