|
@@ -32,7 +32,6 @@ class Configuration implements ConfigurationInterface
|
|
|
$treeBuilder = new TreeBuilder();
|
|
|
$rootNode = $treeBuilder->root('twig');
|
|
|
|
|
|
- $this->addExtensionsSection($rootNode);
|
|
|
$this->addFormSection($rootNode);
|
|
|
$this->addGlobalsSection($rootNode);
|
|
|
$this->addTwigOptions($rootNode);
|
|
@@ -40,18 +39,6 @@ class Configuration implements ConfigurationInterface
|
|
|
return $treeBuilder;
|
|
|
}
|
|
|
|
|
|
- private function addExtensionsSection(ArrayNodeDefinition $rootNode)
|
|
|
- {
|
|
|
- $rootNode
|
|
|
- ->fixXmlConfig('extension')
|
|
|
- ->children()
|
|
|
- ->arrayNode('extensions')
|
|
|
- ->prototype('scalar')->end()
|
|
|
- ->end()
|
|
|
- ->end()
|
|
|
- ;
|
|
|
- }
|
|
|
-
|
|
|
private function addFormSection(ArrayNodeDefinition $rootNode)
|
|
|
{
|
|
|
$rootNode
|