]> Raphaƫl G. Git Repositories - airbundle/blobdiff - DependencyInjection/Configuration.php
Add granted session display
[airbundle] / DependencyInjection / Configuration.php
index e994ada85fddd58af8fb9947826772f9937ae108..aa71eb7a12ca173d62c007ea10859663994ec252 100644 (file)
@@ -71,7 +71,8 @@ class Configuration implements ConfigurationInterface {
                        'contact' => [
                                'name' => 'John Doe',
                                'mail' => 'contact@example.com'
                        'contact' => [
                                'name' => 'John Doe',
                                'mail' => 'contact@example.com'
-                       ]
+                       ],
+                       'locales' => '%kernel.translator.fallbacks%'
                ];
 
                //Here we define the parameters that are allowed to configure the bundle.
                ];
 
                //Here we define the parameters that are allowed to configure the bundle.
@@ -114,6 +115,7 @@ class Configuration implements ConfigurationInterface {
                                                        ->scalarNode('mail')->cannotBeEmpty()->defaultValue($defaults['contact']['mail'])->end()
                                                ->end()
                                        ->end()
                                                        ->scalarNode('mail')->cannotBeEmpty()->defaultValue($defaults['contact']['mail'])->end()
                                                ->end()
                                        ->end()
+                                       ->scalarNode('locales')->cannotBeEmpty()->defaultValue($defaults['locales'])->end()
                                ->end()
                        ->end();
 
                                ->end()
                        ->end();