| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 21 | public function getConfigTreeBuilder() |
||
| 22 | { |
||
| 23 | $treeBuilder = new TreeBuilder('zikula_settings'); |
||
| 24 | |||
| 25 | $treeBuilder->getRootNode() |
||
| 26 | ->children() |
||
| 27 | ->scalarNode('locale')->defaultValue('en')->end() |
||
| 28 | ->arrayNode('locales') |
||
| 29 | ->defaultValue(['en']) |
||
| 30 | ->scalarPrototype()->end() |
||
| 31 | ->end() |
||
| 32 | ->end() |
||
| 33 | ; |
||
| 34 | |||
| 35 | return $treeBuilder; |
||
| 36 | } |
||
| 38 |