src/Sulu/Bundle/PreviewBundle/DependencyInjection/Configuration.php
private function addFileSystemNode()
    {
        $builder = new TreeBuilder();
        $node = $builder->root('file_system');

        $node
            ->addDefaultsIfNotSet()
            ->children()
                ->scalarNode('directory')->defaultValue('%sulu.cache_dir%/preview')->end()
                ->scalarNode('extension')->defaultNull()->end()
                ->integerNode('umask')->defaultValue(0002)->end()
            ->end();

        return $node;
    }
private function addFileSystemNode()
    {
        $builder = new TreeBuilder();
        $node = $builder->root('file_system');

        $node
            ->addDefaultsIfNotSet()
            ->children()
                ->scalarNode('directory')->defaultValue('%sulu.cache_dir%/preview')->end()
                ->scalarNode('extension')->defaultNull()->end()
                ->integerNode('umask')->defaultValue(0002)->end()
            ->end();

        return $node;
    }
private function addFileSystemNode ( ) { $ builder = new TreeBuilder ( ) ; $ node = $ builder -> root ( 'file_system' ) ; $ node -> addDefaultsIfNotSet ( ) -> children ( ) -> scalarNode ( 'directory' ) -> defaultValue ( '%sulu.cache_dir%/preview' ) -> end ( ) -> scalarNode ( 'extension' ) -> defaultNull ( ) -> end ( ) -> integerNode ( 'umask' ) -> defaultValue ( 0002 ) -> end ( ) -> end ( ) ; return $ node ; }
Build file_system node configuration definition.

@return NodeDefinition
Build file_system node configuration definition .