'translate' => [],
'locales' => '%kernel.translator.fallbacks%',
'languages' => [
- 'en' => 'English'
+ 'en-gb' => 'English'
],
'contact' => [
- 'name' => 'John Doe',
+ 'title' => 'John Doe',
'mail' => 'contact@example.com'
],
'login' => [
->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()