Conditions | 1 |
Paths | 1 |
Total Lines | 18 |
Code Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Tests | 11 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
34 | 19 | public function getArrayNodeDefinition(TreeBuilder $treeBuilder): ArrayNodeDefinition |
|
35 | { |
||
36 | /** @var ArrayNodeDefinition $rootNode */ |
||
37 | 19 | $rootNode = $treeBuilder->root(self::ROOT_KEY); |
|
38 | |||
39 | $nodeBuilder = $rootNode |
||
40 | 19 | ->info('The defaults values are common values that are reused by different actions.') |
|
41 | 19 | ->addDefaultsIfNotSet() |
|
42 | 19 | ->children(); |
|
43 | |||
44 | 19 | self::addCacheDirectoryPathConfigurationNode($nodeBuilder, 'cache'); |
|
45 | 19 | self::addLoggerConfigurationNode($nodeBuilder, 'drupal-debug', 'logs/drupal-debug.log'); |
|
46 | 19 | self::addCharsetConfigurationNode($nodeBuilder, null); |
|
47 | 19 | self::addFileLinkFormatConfigurationNode($nodeBuilder, null); |
|
48 | |||
49 | 19 | $nodeBuilder->end(); |
|
50 | |||
51 | 19 | return $rootNode; |
|
52 | } |
||
54 |