X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/63dc472fb614443d32b3af6cb2b6aebcaaa51667..ee389cd4c92c394753f98d1bfd3ccee2817b541d:/DependencyInjection/Configuration.php?ds=sidebyside diff --git a/DependencyInjection/Configuration.php b/DependencyInjection/Configuration.php index e994ada..aa71eb7 100644 --- a/DependencyInjection/Configuration.php +++ b/DependencyInjection/Configuration.php @@ -71,7 +71,8 @@ class Configuration implements ConfigurationInterface { 'contact' => [ 'name' => 'John Doe', 'mail' => 'contact@example.com' - ] + ], + 'locales' => '%kernel.translator.fallbacks%' ]; //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('locales')->cannotBeEmpty()->defaultValue($defaults['locales'])->end() ->end() ->end();