]> Raphaël G. Git Repositories - airbundle/commitdiff
Fix site title naming
authorRaphaël Gertz <git@rapsys.eu>
Wed, 11 Dec 2019 03:54:33 +0000 (04:54 +0100)
committerRaphaël Gertz <git@rapsys.eu>
Wed, 11 Dec 2019 03:54:33 +0000 (04:54 +0100)
Add url parameter

DependencyInjection/Configuration.php

index 35d7c4d8831fdc37a98f7a8d74e61a73a6fca1d0..e994ada85fddd58af8fb9947826772f9937ae108 100644 (file)
@@ -61,7 +61,8 @@ class Configuration implements ConfigurationInterface {
                                        70 => '@RapsysAir/png/icon.70.png'
                                ],
                                'svg' => '@RapsysAir/svg/icon.svg',
-                               'title' => 'Air Libre'
+                               'title' => 'Open Air',
+                               'url' => 'rapsys_air'
                        ],
                        'copy' => [
                                'long' => 'John Doe all rights reserved',
@@ -96,6 +97,7 @@ class Configuration implements ConfigurationInterface {
                                                        ->end()
                                                        ->scalarNode('svg')->cannotBeEmpty()->defaultValue($defaults['site']['svg'])->end()
                                                        ->scalarNode('title')->cannotBeEmpty()->defaultValue($defaults['site']['title'])->end()
+                                                       ->scalarNode('url')->cannotBeEmpty()->defaultValue($defaults['site']['url'])->end()
                                                ->end()
                                        ->end()
                                        ->arrayNode('copy')