]> git.immae.eu Git - github/wallabag/wallabag.git/blob - src/Wallabag/CoreBundle/Resources/config/services.yml
Move API stuff in ApiBundle
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Resources / config / services.yml
1 services:
2 wallabag_core.twig.extension:
3 class: Wallabag\CoreBundle\Twig\Extension\WallabagExtension
4 tags:
5 - { name: twig.extension }
6
7 wallabag_core.helper.detect_active_theme:
8 class: Wallabag\CoreBundle\Helper\DetectActiveTheme
9 arguments:
10 - @security.context
11 - %theme% # default theme from parameters.yml
12
13 # custom form type
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 }
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 }
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
34
35 wallabag_core.doctrine.prefixed_naming_strategy:
36 class: Wallabag\CoreBundle\Doctrine\Mapping\PrefixedNamingStrategy
37 arguments: [%database_table_prefix%]