From 1a999063396315eabc79830a6900be658a5afd39 Mon Sep 17 00:00:00 2001 From: Julie Lenaerts Date: Thu, 3 Jul 2025 17:17:25 +0200 Subject: [PATCH] Move two notification flag providers to person bundle --- .../ChillMainBundle/config/services/notification.yaml | 10 +++++++++- .../DesignatedReferrerNotificationFlagProvider.php | 3 ++- .../PersonAddressMoveNotificationFlagProvider.php | 3 ++- .../config/services/notification.yaml | 6 ++++++ 4 files changed, 19 insertions(+), 3 deletions(-) rename src/Bundle/{ChillMainBundle => ChillPersonBundle}/Notification/FlagProviders/DesignatedReferrerNotificationFlagProvider.php (76%) rename src/Bundle/{ChillMainBundle => ChillPersonBundle}/Notification/FlagProviders/PersonAddressMoveNotificationFlagProvider.php (76%) diff --git a/src/Bundle/ChillMainBundle/config/services/notification.yaml b/src/Bundle/ChillMainBundle/config/services/notification.yaml index 82ab9b29e..9498fddb5 100644 --- a/src/Bundle/ChillMainBundle/config/services/notification.yaml +++ b/src/Bundle/ChillMainBundle/config/services/notification.yaml @@ -14,7 +14,15 @@ services: Chill\MainBundle\Notification\NotificationFlagManager: arguments: - $notificationFlagProviders: !tagged_iterator chill_main.notification_flag_provider + $notificationFlagProviders: !tagged_iterator notification_flag_provider + + Chill\MainBundle\Notification\FlagProviders\NotificationByUserFlagProvider: + tags: + - { name: notification_flag_provider } + + Chill\MainBundle\Notification\FlagProviders\WorkflowTransitionNotificationFlagProvider: + tags: + - { name: notification_flag_provider } Chill\MainBundle\Notification\NotificationHandlerManager: arguments: diff --git a/src/Bundle/ChillMainBundle/Notification/FlagProviders/DesignatedReferrerNotificationFlagProvider.php b/src/Bundle/ChillPersonBundle/Notification/FlagProviders/DesignatedReferrerNotificationFlagProvider.php similarity index 76% rename from src/Bundle/ChillMainBundle/Notification/FlagProviders/DesignatedReferrerNotificationFlagProvider.php rename to src/Bundle/ChillPersonBundle/Notification/FlagProviders/DesignatedReferrerNotificationFlagProvider.php index 582cd231b..5e6144d51 100644 --- a/src/Bundle/ChillMainBundle/Notification/FlagProviders/DesignatedReferrerNotificationFlagProvider.php +++ b/src/Bundle/ChillPersonBundle/Notification/FlagProviders/DesignatedReferrerNotificationFlagProvider.php @@ -1,7 +1,8 @@