]> Raphaƫl G. Git Repositories - userbundle/blobdiff - DependencyInjection/Configuration.php
Rename contact.name to contact.title
[userbundle] / DependencyInjection / Configuration.php
index 7b965a056fb34dd8970de73411bcb24605324767..efc8a686f5638f5645aa0addad429f1a42498425 100644 (file)
@@ -57,7 +57,7 @@ class Configuration implements ConfigurationInterface {
                                '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()