options added to create person or parcours and to access global history

This commit is contained in:
2022-03-21 12:10:03 +01:00
parent ff5aeaae17
commit bdb07a3a05
6 changed files with 56 additions and 34 deletions

View File

@@ -59,6 +59,16 @@ class ChillPersonExtension extends Extension implements PrependExtensionInterfac
$config['allow_multiple_simultaneous_accompanying_periods']
);
$container->setParameter(
'chill_person.create_person_allowed',
$config['create_person_allowed']
);
$container->setParameter(
'chill_person.create_parcours_allowed',
$config['create_parcours_allowed']
);
// register all configuration in a unique parameter
$container->setParameter('chill_person', $config);