reorganize into separate config file

This commit is contained in:
Julie Lenaerts 2022-07-26 13:18:15 +02:00
parent a15c88dd35
commit b12e5e78b6
3 changed files with 8 additions and 8 deletions

View File

@ -76,6 +76,7 @@ class ChillPersonExtension extends Extension implements PrependExtensionInterfac
$loader->load('services.yaml');
$loader->load('services/widgets.yaml');
$loader->load('services/exports.yaml');
$loader->load('services/exports_social_actions.yaml');
$loader->load('services/fixtures.yaml');
$loader->load('services/controller.yaml');
$loader->load('services/search.yaml');
@ -95,7 +96,6 @@ class ChillPersonExtension extends Extension implements PrependExtensionInterfac
$loader->load('services/doctrineEventListener.yaml');
$loader->load('services/accompanyingPeriodConsistency.yaml');
//
if ($container->getParameter('chill_person.accompanying_period') !== 'hidden') {
$loader->load('services/exports_accompanying_period.yaml');
}

View File

@ -26,13 +26,6 @@ services:
- '%chill_main.notifications%'
tags:
- { name: chill.export, alias: list_person_duplicate }
chill.person.export.count_social_actions:
class: Chill\PersonBundle\Export\Export\CountSocialActions
autowire: true
autoconfigure: true
tags:
- { name: chill.export, alias: count_social_actions }
chill.person.export.filter_gender:
class: Chill\PersonBundle\Export\Filter\GenderFilter

View File

@ -0,0 +1,7 @@
services:
chill.person.export.count_social_actions:
class: Chill\PersonBundle\Export\Export\CountSocialActions
autowire: true
autoconfigure: true
tags:
- { name: chill.export, alias: count_social_actions }