aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Resources/config/services.yml
diff options
context:
space:
mode:
authorJeremy <jeremy.benoist@gmail.com>2015-02-23 22:55:06 +0100
committerJeremy <jeremy.benoist@gmail.com>2015-03-01 10:49:16 +0100
commit32da2a70ef278bd42f66eb82c3fbf1905a417b87 (patch)
tree587ef3bae1f4881047eb1ceb0c005e7a8287bb71 /src/Wallabag/CoreBundle/Resources/config/services.yml
parentfca3c757233940cbe4c431e3e05fe74893225fe0 (diff)
downloadwallabag-32da2a70ef278bd42f66eb82c3fbf1905a417b87.tar.gz
wallabag-32da2a70ef278bd42f66eb82c3fbf1905a417b87.tar.zst
wallabag-32da2a70ef278bd42f66eb82c3fbf1905a417b87.zip
Add LiipThemeBundle
Re-defined the config / user relation to be OneToOne bidirectionnal. ConfigType is now a service so I can inject the list of available themes that are also used by LiipThemeBundle Force sqlite for test In case of people use a different driver in parameter.yml (yes I do :))
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources/config/services.yml')
-rw-r--r--src/Wallabag/CoreBundle/Resources/config/services.yml16
1 files changed, 15 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/config/services.yml b/src/Wallabag/CoreBundle/Resources/config/services.yml
index b066c1a3..5437d1cf 100644
--- a/src/Wallabag/CoreBundle/Resources/config/services.yml
+++ b/src/Wallabag/CoreBundle/Resources/config/services.yml
@@ -1,15 +1,29 @@
1services: 1services:
2 wallabag_core.twig.wallabag: 2 wallabag_core.twig.extension:
3 class: Wallabag\CoreBundle\Twig\Extension\WallabagExtension 3 class: Wallabag\CoreBundle\Twig\Extension\WallabagExtension
4 tags: 4 tags:
5 - { name: twig.extension } 5 - { name: twig.extension }
6
6 wsse.security.authentication.provider: 7 wsse.security.authentication.provider:
7 class: Wallabag\CoreBundle\Security\Authentication\Provider\WsseProvider 8 class: Wallabag\CoreBundle\Security\Authentication\Provider\WsseProvider
8 public: false 9 public: false
9 arguments: ['', '%kernel.cache_dir%/security/nonces'] 10 arguments: ['', '%kernel.cache_dir%/security/nonces']
11
10 wsse.security.authentication.listener: 12 wsse.security.authentication.listener:
11 class: Wallabag\CoreBundle\Security\Firewall\WsseListener 13 class: Wallabag\CoreBundle\Security\Firewall\WsseListener
12 public: false 14 public: false
13 tags: 15 tags:
14 - { name: monolog.logger, channel: wsse } 16 - { name: monolog.logger, channel: wsse }
15 arguments: ['@security.context', '@security.authentication.manager', '@logger'] 17 arguments: ['@security.context', '@security.authentication.manager', '@logger']
18
19 wallabag_core.helper.detect_active_theme:
20 class: Wallabag\CoreBundle\Helper\DetectActiveTheme
21 arguments:
22 - @security.context
23
24 wallabag_core.form.type.config:
25 class: Wallabag\CoreBundle\Form\Type\ConfigType
26 arguments:
27 - %liip_theme.themes%
28 tags:
29 - { name: form.type, alias: config }