| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 30 | 
| Code Lines | 20 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 1 | 
| 1 | <?php | ||
| 18 | public function getConfigTreeBuilder() | ||
| 19 |     { | ||
| 20 | $treeBuilder = new TreeBuilder(); | ||
| 21 |         $rootNode = $treeBuilder->root('alpixel_elastica_query_sorter'); | ||
| 22 | |||
| 23 | $rootNode | ||
| 24 | ->children() | ||
| 25 |                 ->arrayNode('views') | ||
| 26 | ->children() | ||
| 27 |                         ->scalarNode('clear_sort') | ||
| 28 |                             ->defaultvalue('AlpixelElasticaQuerySorterBundle:blocks:clear_sort.html.twig') | ||
| 29 | ->end() | ||
| 30 |                         ->scalarNode('sort_link') | ||
| 31 |                             ->defaultvalue('AlpixelElasticaQuerySorterBundle:blocks:sort_link.html.twig') | ||
| 32 | ->end() | ||
| 33 | ->end() | ||
| 34 | ->end() | ||
| 35 |                 ->scalarNode('item_per_page') | ||
| 36 | ->defaultvalue(25) | ||
| 37 | ->end() | ||
| 38 | ->end() | ||
| 39 | ; | ||
| 40 | |||
| 41 | |||
| 42 | // Here you should define the parameters that are allowed to | ||
| 43 | // configure your bundle. See the documentation linked above for | ||
| 44 | // more information on that topic. | ||
| 45 | |||
| 46 | return $treeBuilder; | ||
| 47 | } | ||
| 48 | } | ||
| 49 |