diff options
Diffstat (limited to 'app/config/services.yml')
-rw-r--r-- | app/config/services.yml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/app/config/services.yml b/app/config/services.yml index ff6a582b..80d6c1a1 100644 --- a/app/config/services.yml +++ b/app/config/services.yml | |||
@@ -18,3 +18,15 @@ services: | |||
18 | public: false | 18 | public: false |
19 | tags: | 19 | tags: |
20 | - { name: twig.extension } | 20 | - { name: twig.extension } |
21 | |||
22 | wallabag.locale_listener: | ||
23 | class: Wallabag\CoreBundle\EventListener\LocaleListener | ||
24 | arguments: ["%kernel.default_locale%"] | ||
25 | tags: | ||
26 | - { name: kernel.event_subscriber } | ||
27 | |||
28 | wallabag.user_locale_listener: | ||
29 | class: Wallabag\CoreBundle\EventListener\UserLocaleListener | ||
30 | arguments: ["@session"] | ||
31 | tags: | ||
32 | - { name: kernel.event_listener, event: security.interactive_login, method: onInteractiveLogin } | ||