]> Raphaƫl G. Git Repositories - treebundle/blobdiff - DependencyInjection/RapsysTreeExtension.php
Remove roots replaced by albums
[treebundle] / DependencyInjection / RapsysTreeExtension.php
index 09fcb90b165e30d345d26b934fef965e6b558491..3f236f4956244a8a90b7758b5ed9b42c967ff705 100644 (file)
@@ -52,7 +52,20 @@ class RapsysTreeExtension extends Extension implements PrependExtensionInterface
 
                //Store flattened array in parameters
                //XXX: don't flatten rapsystree.site.png key which is required to be an array
 
                //Store flattened array in parameters
                //XXX: don't flatten rapsystree.site.png key which is required to be an array
-               foreach($this->flatten($config, $alias, 10, '.', ['rapsystree.copy', 'rapsystree.icon', 'rapsystree.icon.png', 'rapsystree.logo', 'rapsystree.facebook.apps', 'rapsystree.locales', 'rapsystree.languages']) as $k => $v) {
+               foreach(
+                       $this->flatten(
+                               $config, $alias, 10, '.', [
+                                       'rapsystree.copy',
+                                       'rapsystree.icon',
+                                       'rapsystree.icon.png',
+                                       'rapsystree.logo',
+                                       'rapsystree.facebook.apps',
+                                       'rapsystree.locales',
+                                       'rapsystree.languages',
+                                       'rapsystree.roots'
+                               ]
+                       ) as $k => $v
+               ) {
                        $container->setParameter($k, $v);
                }
 
                        $container->setParameter($k, $v);
                }