]> git.immae.eu Git - github/wallabag/wallabag.git/blame - app/config/services.yml
Documentation about wallabag v1 CLI import
[github/wallabag/wallabag.git] / app / config / services.yml
CommitLineData
93fd4692 1parameters:
7d6c3edc 2 lexik_form_filter.get_filter.doctrine_orm.class: Wallabag\CoreBundle\Event\Subscriber\CustomDoctrineORMSubscriber
93fd4692
NL
3
4services:
a05be8ab
J
5 # used for tests
6 filesystem_cache:
7 class: Doctrine\Common\Cache\FilesystemCache
8 arguments:
9 - %kernel.cache_dir%/doctrine/metadata
50243f0e
NL
10
11 twig.extension.text:
12 class: Twig_Extensions_Extension_Text
13 tags:
14 - { name: twig.extension }
2afdea1c
NL
15
16 wallabag.twig_extension:
17 class: Wallabag\CoreBundle\Twig\WallabagExtension
18 public: false
19 tags:
20 - { name: twig.extension }
c89d35e8 21
07643dde 22 wallabag.twig_piwik_extension:
077ddbe1 23 class: PiwikTwigExtension\PiwikTwigExtension
07643dde 24 public: false
07643dde
NL
25 tags:
26 - { name: twig.extension }
27
c89d35e8
NL
28 wallabag.locale_listener:
29 class: Wallabag\CoreBundle\EventListener\LocaleListener
30 arguments: ["%kernel.default_locale%"]
31 tags:
32 - { name: kernel.event_subscriber }
33
34 wallabag.user_locale_listener:
35 class: Wallabag\CoreBundle\EventListener\UserLocaleListener
36 arguments: ["@session"]
37 tags:
38 - { name: kernel.event_listener, event: security.interactive_login, method: onInteractiveLogin }