]> Raphaƫl G. Git Repositories - userbundle/blobdiff - DependencyInjection/Configuration.php
Rename contact.name to contact.title
[userbundle] / DependencyInjection / Configuration.php
index ece6c297dea6e09b9cd941b8c287f7da07e6da6e..efc8a686f5638f5645aa0addad429f1a42498425 100644 (file)
@@ -54,10 +54,10 @@ class Configuration implements ConfigurationInterface {
                        'translate' => [],
                        'locales' => '%kernel.translator.fallbacks%',
                        'languages' => [
-                               'en' => 'English'
+                               'en-gb' => 'English'
                        ],
                        'contact' => [
-                               'name' => 'John Doe',
+                               'title' => 'John Doe',
                                'mail' => 'contact@example.com'
                        ],
                        'login' => [
@@ -217,7 +217,7 @@ class Configuration implements ConfigurationInterface {
                                        ->arrayNode('contact')
                                                ->addDefaultsIfNotSet()
                                                ->children()
-                                                       ->scalarNode('name')->cannotBeEmpty()->defaultValue($defaults['contact']['name'])->end()
+                                                       ->scalarNode('title')->cannotBeEmpty()->defaultValue($defaults['contact']['title'])->end()
                                                        ->scalarNode('mail')->cannotBeEmpty()->defaultValue($defaults['contact']['mail'])->end()
                                                ->end()
                                        ->end()