| Conditions | 1 |
| Paths | 1 |
| Total Lines | 18 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 10 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 18 | 2 | public function getConfigTreeBuilder() |
|
| 19 | { |
||
| 20 | 2 | $treeBuilder = new TreeBuilder(); |
|
| 21 | 2 | $rootNode = $treeBuilder->root('azine_email_update_confirmation'); |
|
| 22 | |||
| 23 | // Here you should define the parameters that are allowed to |
||
| 24 | // configure your bundle. See the documentation linked above for |
||
| 25 | // more information on that topic. |
||
| 26 | |||
| 27 | 2 | $rootNode->children() |
|
| 28 | 2 | ->booleanNode('enabled')->defaultFalse()->end() |
|
| 29 | 2 | ->scalarNode('cypher_method')->defaultNull()->end() |
|
| 30 | 2 | ->scalarNode('email_template')->defaultValue('@AzineEmailUpdateConfirmation/Email/email_update_confirmation.txt.twig')->end() |
|
| 31 | 2 | ->scalarNode('redirect_route')->defaultValue('fos_user_profile_show')->end() |
|
| 32 | 2 | ->end(); |
|
| 33 | |||
| 34 | 2 | return $treeBuilder; |
|
| 35 | } |
||
| 36 | } |
||
| 37 |