mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Feature: Set defaults values for add_address configuration
The default values were not set at the root of the array config. This create a default value to the array config
This commit is contained in:
parent
7a1cc9b076
commit
1bc7221315
@ -277,7 +277,7 @@ class Configuration implements ConfigurationInterface
|
||||
;
|
||||
|
||||
$rootNode->children()
|
||||
->arrayNode('add_address')->children()
|
||||
->arrayNode('add_address')->addDefaultsIfNotSet()->children()
|
||||
->scalarNode('default_country')->cannotBeEmpty()->defaultValue('BE')->end()
|
||||
->arrayNode('map_center')->children()
|
||||
->scalarNode('x')->cannotBeEmpty()->defaultValue(50.8443)->end()
|
||||
|
Loading…
x
Reference in New Issue
Block a user