Conditions | 1 |
Paths | 1 |
Total Lines | 21 |
Code Lines | 18 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
22 | public function getConfigTreeBuilder() |
||
23 | { |
||
24 | $treeBuilder = new TreeBuilder(); |
||
25 | $treeBuilder->root('cms_kernel_admin_bridge') |
||
26 | ->children() |
||
27 | ->scalarNode('user_type')->defaultValue('user')->end() |
||
28 | ->arrayNode('locales') |
||
29 | ->children() |
||
30 | ->scalarNode('default') |
||
31 | ->isRequired(true) |
||
32 | ->end() |
||
33 | ->arrayNode('others') |
||
34 | ->prototype('scalar')->end() |
||
35 | ->end() |
||
36 | ->end() |
||
37 | ->end() |
||
38 | ->end() |
||
39 | ->end(); |
||
40 | |||
41 | return $treeBuilder; |
||
42 | } |
||
43 | } |
||
44 |