]> git.immae.eu Git - github/wallabag/wallabag.git/blame - app/config/services.yml
Upgrade Piwik Twig Extension to Matomo
[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:
50243f0e
NL
5 twig.extension.text:
6 class: Twig_Extensions_Extension_Text
7 tags:
8 - { name: twig.extension }
2afdea1c
NL
9
10 wallabag.twig_extension:
11 class: Wallabag\CoreBundle\Twig\WallabagExtension
12 public: false
8315130a
NL
13 arguments:
14 - "@wallabag_core.entry_repository"
429d86f3 15 - "@wallabag_core.tag_repository"
8315130a 16 - "@security.token_storage"
429d86f3 17 - "%wallabag_core.cache_lifetime%"
1264029c 18 - "@translator"
33e3eeae 19 - "%kernel.root_dir%"
2afdea1c
NL
20 tags:
21 - { name: twig.extension }
c89d35e8 22
9717d012
NL
23 wallabag.twig_matomo_extension:
24 class: MatomoTwigExtension\MatomoTwigExtension
07643dde 25 public: false
07643dde
NL
26 tags:
27 - { name: twig.extension }
28
c89d35e8 29 wallabag.locale_listener:
535bfcbe 30 class: Wallabag\CoreBundle\Event\Listener\LocaleListener
c89d35e8
NL
31 arguments: ["%kernel.default_locale%"]
32 tags:
33 - { name: kernel.event_subscriber }
34
35 wallabag.user_locale_listener:
535bfcbe 36 class: Wallabag\CoreBundle\Event\Listener\UserLocaleListener
c89d35e8
NL
37 arguments: ["@session"]
38 tags:
39 - { name: kernel.event_listener, event: security.interactive_login, method: onInteractiveLogin }
3b792787
NL
40
41 craue_config_cache_provider:
42 class: Symfony\Component\Cache\Adapter\FilesystemAdapter
43 public: false
44 arguments:
45 - 'craue_config'
46 - 0
47 - '%kernel.cache_dir%'