mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-30 19:43:49 +00:00
#16 replace hardcoded country and map_center in vue add-address by symfony config yaml variables
This commit is contained in:
@@ -266,7 +266,18 @@ class Configuration implements ConfigurationInterface
|
||||
->end()
|
||||
->end() // end of root/children
|
||||
->end() // end of root
|
||||
;
|
||||
;
|
||||
|
||||
$rootNode->children()
|
||||
->arrayNode('add_address')->children()
|
||||
->scalarNode('default_country')->cannotBeEmpty()->end()
|
||||
->arrayNode('map_center')->children()
|
||||
->scalarNode('x')->cannotBeEmpty()->end()
|
||||
->scalarNode('y')->cannotBeEmpty()->end()
|
||||
->scalarNode('z')->cannotBeEmpty()->end()
|
||||
->end()
|
||||
->end()
|
||||
;
|
||||
|
||||
return $treeBuilder;
|
||||
}
|
||||
|
Reference in New Issue
Block a user