diff options
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources/config/services.yml')
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/config/services.yml | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/config/services.yml b/src/Wallabag/CoreBundle/Resources/config/services.yml index b066c1a3..c734a3a5 100644 --- a/src/Wallabag/CoreBundle/Resources/config/services.yml +++ b/src/Wallabag/CoreBundle/Resources/config/services.yml | |||
@@ -1,15 +1,30 @@ | |||
1 | services: | 1 | services: |
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 | - %theme% # default theme from parameters.yml | ||
24 | |||
25 | wallabag_core.form.type.config: | ||
26 | class: Wallabag\CoreBundle\Form\Type\ConfigType | ||
27 | arguments: | ||
28 | - %liip_theme.themes% | ||
29 | tags: | ||
30 | - { name: form.type, alias: config } | ||