X-Git-Url: https://git.rapsys.eu/treebundle/blobdiff_plain/cf5e175bcffa97b9ed658b03911c0c0a02ae9092..c74ab618abe6dad2df2e2e2139cec77188da6208:/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();