mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
reorganize into separate config file
This commit is contained in:
parent
a15c88dd35
commit
b12e5e78b6
@ -76,6 +76,7 @@ class ChillPersonExtension extends Extension implements PrependExtensionInterfac
|
|||||||
$loader->load('services.yaml');
|
$loader->load('services.yaml');
|
||||||
$loader->load('services/widgets.yaml');
|
$loader->load('services/widgets.yaml');
|
||||||
$loader->load('services/exports.yaml');
|
$loader->load('services/exports.yaml');
|
||||||
|
$loader->load('services/exports_social_actions.yaml');
|
||||||
$loader->load('services/fixtures.yaml');
|
$loader->load('services/fixtures.yaml');
|
||||||
$loader->load('services/controller.yaml');
|
$loader->load('services/controller.yaml');
|
||||||
$loader->load('services/search.yaml');
|
$loader->load('services/search.yaml');
|
||||||
@ -95,7 +96,6 @@ class ChillPersonExtension extends Extension implements PrependExtensionInterfac
|
|||||||
$loader->load('services/doctrineEventListener.yaml');
|
$loader->load('services/doctrineEventListener.yaml');
|
||||||
$loader->load('services/accompanyingPeriodConsistency.yaml');
|
$loader->load('services/accompanyingPeriodConsistency.yaml');
|
||||||
|
|
||||||
//
|
|
||||||
if ($container->getParameter('chill_person.accompanying_period') !== 'hidden') {
|
if ($container->getParameter('chill_person.accompanying_period') !== 'hidden') {
|
||||||
$loader->load('services/exports_accompanying_period.yaml');
|
$loader->load('services/exports_accompanying_period.yaml');
|
||||||
}
|
}
|
||||||
|
@ -26,13 +26,6 @@ services:
|
|||||||
- '%chill_main.notifications%'
|
- '%chill_main.notifications%'
|
||||||
tags:
|
tags:
|
||||||
- { name: chill.export, alias: list_person_duplicate }
|
- { 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:
|
chill.person.export.filter_gender:
|
||||||
class: Chill\PersonBundle\Export\Filter\GenderFilter
|
class: Chill\PersonBundle\Export\Filter\GenderFilter
|
||||||
|
@ -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 }
|
Loading…
x
Reference in New Issue
Block a user