X-Git-Url: https://git.rapsys.eu/userbundle/blobdiff_plain/359ca85c22e97645a413d25583c801ddd7f3ea57..5305ca069746c39ab9271fdf4ee9e14287237c21:/DependencyInjection/Configuration.php diff --git a/DependencyInjection/Configuration.php b/DependencyInjection/Configuration.php index 719e952..22c34f0 100644 --- a/DependencyInjection/Configuration.php +++ b/DependencyInjection/Configuration.php @@ -73,8 +73,8 @@ class Configuration implements ConfigurationInterface { 'en_gb' => 'English' ], 'contact' => [ - 'title' => 'John Doe', - 'mail' => 'contact@example.com' + 'address' => 'contact@example.com', + 'name' => 'John Doe' ], 'context' => [], 'edit' => [ @@ -236,8 +236,8 @@ class Configuration implements ConfigurationInterface { ->arrayNode('contact') ->addDefaultsIfNotSet() ->children() - ->scalarNode('title')->cannotBeEmpty()->defaultValue($defaults['contact']['title'])->end() - ->scalarNode('mail')->cannotBeEmpty()->defaultValue($defaults['contact']['mail'])->end() + ->scalarNode('address')->cannotBeEmpty()->defaultValue($defaults['contact']['address'])->end() + ->scalarNode('name')->cannotBeEmpty()->defaultValue($defaults['contact']['name'])->end() ->end() ->end() ->arrayNode('context')