X-Git-Url: https://git.rapsys.eu/treebundle/blobdiff_plain/26306be2dd44ed3b972f1a0fd2d91b9227a3116b..815a89d46393bb7d241468e45db9c9ac3d092039:/DependencyInjection/Configuration.php?ds=inline diff --git a/DependencyInjection/Configuration.php b/DependencyInjection/Configuration.php index ce4ca90..ebd98c0 100644 --- a/DependencyInjection/Configuration.php +++ b/DependencyInjection/Configuration.php @@ -108,7 +108,6 @@ class Configuration implements ConfigurationInterface { ], 'path' => is_link(($prefix = is_dir('public') ? './public/' : './').($link = 'bundles/'.str_replace('_', '', $alias))) && is_dir(realpath($prefix.$link)) || is_dir($prefix.$link) ? $link : dirname(__DIR__).'/Resources/public', 'root' => 'rapsystree', - 'roots' => [], 'title' => 'Veranda\'s gallery system' ]; @@ -190,13 +189,6 @@ class Configuration implements ConfigurationInterface { ->end() ->scalarNode('path')->defaultValue($defaults['path'])->end() ->scalarNode('root')->cannotBeEmpty()->defaultValue($defaults['root'])->end() - #TODO: see if we can't prevent key normalisation with ->normalizeKeys(false) - #->scalarNode('roots')->cannotBeEmpty()->defaultValue($defaults['roots'])->end() - ->variableNode('roots') - ->treatNullLike([]) - ->defaultValue($defaults['roots']) - #->scalarPrototype()->end() - ->end() ->scalarNode('title')->cannotBeEmpty()->defaultValue($defaults['title'])->end() ->end() ->end();