]> git.immae.eu Git - github/wallabag/wallabag.git/blame - src/Wallabag/CoreBundle/Resources/config/services.yml
Merge pull request #1167 from wallabag/v2-api-bundle
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Resources / config / services.yml
CommitLineData
7ffb1e80 1services:
32da2a70 2 wallabag_core.twig.extension:
7ffb1e80
NL
3 class: Wallabag\CoreBundle\Twig\Extension\WallabagExtension
4 tags:
5 - { name: twig.extension }
32da2a70 6
32da2a70
J
7 wallabag_core.helper.detect_active_theme:
8 class: Wallabag\CoreBundle\Helper\DetectActiveTheme
9 arguments:
10 - @security.context
495aecfe 11 - %theme% # default theme from parameters.yml
32da2a70 12
6894d48e 13 # custom form type
32da2a70
J
14 wallabag_core.form.type.config:
15 class: Wallabag\CoreBundle\Form\Type\ConfigType
16 arguments:
17 - %liip_theme.themes%
18 tags:
19 - { name: form.type, alias: config }
6894d48e
J
20
21 wallabag_core.form.type.forgot_password:
22 class: Wallabag\CoreBundle\Form\Type\ForgotPasswordType
23 arguments:
24 - @doctrine
25 tags:
26 - { name: form.type, alias: forgot_password }
0c83fd59
J
27
28 wallabag_core.param_converter.username_rsstoken_converter:
29 class: Wallabag\CoreBundle\ParamConverter\UsernameRssTokenConverter
30 tags:
31 - { name: request.param_converter, converter: username_rsstoken_converter }
32 arguments:
33 - @doctrine
164bd801
J
34
35 wallabag_core.doctrine.prefixed_naming_strategy:
36 class: Wallabag\CoreBundle\Doctrine\Mapping\PrefixedNamingStrategy
37 arguments: [%database_table_prefix%]