X-Git-Url: https://git.rapsys.eu/userbundle/blobdiff_plain/359ca85c22e97645a413d25583c801ddd7f3ea57..15c15d969c9161e0a10515ff91857e687ab6f60a:/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')