From: Raphaƫl Gertz Date: Sat, 2 Nov 2024 03:56:32 +0000 (+0100) Subject: Remove roots replaced by albums X-Git-Tag: 0.0.6~7 X-Git-Url: https://git.rapsys.eu/treebundle/commitdiff_plain/815a89d46393bb7d241468e45db9c9ac3d092039?ds=sidebyside Remove roots replaced by albums --- 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();