| 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 | 18 | public function getArrayNodeDefinition(TreeBuilder $treeBuilder): ArrayNodeDefinition |
|
| 35 | { |
||
| 36 | /** @var ArrayNodeDefinition $rootNode */ |
||
| 37 | 18 | $rootNode = $treeBuilder->root(self::ROOT_KEY); |
|
| 38 | |||
| 39 | $nodeBuilder = $rootNode |
||
| 40 | 18 | ->info('The defaults values are common values that are reused by different actions.') |
|
| 41 | 18 | ->addDefaultsIfNotSet() |
|
| 42 | 18 | ->children(); |
|
| 43 | |||
| 44 | 18 | self::addCacheDirectoryPathConfigurationNode($nodeBuilder, 'cache'); |
|
| 45 | 18 | self::addLoggerConfigurationNode($nodeBuilder, 'drupal-debug', 'logs/drupal-debug.log'); |
|
| 46 | 18 | self::addCharsetConfigurationNode($nodeBuilder, null); |
|
| 47 | 18 | self::addFileLinkFormatConfigurationNode($nodeBuilder, null); |
|
| 48 | |||
| 49 | 18 | $nodeBuilder->end(); |
|
| 50 | |||
| 51 | 18 | return $rootNode; |
|
| 52 | } |
||
| 54 |