From: Raphaƫl Gertz Date: Thu, 14 Nov 2024 06:33:09 +0000 (+0100) Subject: Set rapsysuser.default.{admin,group} keys X-Git-Tag: 0.5.5~2 X-Git-Url: https://git.rapsys.eu/userbundle/commitdiff_plain/4f9e7ff026a604ff0cbec161b9bddb0f07c4fe99?ds=inline Set rapsysuser.default.{admin,group} keys --- diff --git a/DependencyInjection/RapsysUserExtension.php b/DependencyInjection/RapsysUserExtension.php index d69ee4d..e7b4d5a 100644 --- a/DependencyInjection/RapsysUserExtension.php +++ b/DependencyInjection/RapsysUserExtension.php @@ -44,6 +44,12 @@ class RapsysUserExtension extends Extension { //Save configuration in parameters $container->setParameter($alias, $config); + //Set rapsysuser.default.admin key + $container->setParameter($alias.'.default.admin', $config['default']['admin']); + + //Set rapsysuser.default.group key + $container->setParameter($alias.'.default.group', $config['default']['group']); + //Set rapsysuser.alias key $container->setParameter($alias.'.alias', $alias);