mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 07:03:49 +00:00
options added to create person or parcours and to access global history
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user