]> git.immae.eu Git - github/wallabag/wallabag.git/blob - src/Wallabag/CoreBundle/Resources/config/services.yml
Merge pull request #1436 from wallabag/v2-register
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Resources / config / services.yml
1 services:
2 wallabag_core.helper.detect_active_theme:
3 class: Wallabag\CoreBundle\Helper\DetectActiveTheme
4 arguments:
5 - @security.context
6 - %theme% # default theme from parameters.yml
7
8 # custom form type
9 wallabag_core.form.type.config:
10 class: Wallabag\CoreBundle\Form\Type\ConfigType
11 arguments:
12 - %liip_theme.themes%
13 tags:
14 - { name: form.type, alias: config }
15
16 wallabag_core.form.registration:
17 class: Wallabag\CoreBundle\Form\Type\RegistrationType
18 tags:
19 - { name: form.type, alias: wallabag_user_registration }
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:
38 - %database_table_prefix%
39
40 wallabag_core.graby:
41 class: Graby\Graby
42 arguments:
43 - { error_message: false }
44
45 wallabag_core.content_proxy:
46 class: Wallabag\CoreBundle\Helper\ContentProxy
47 arguments:
48 - @wallabag_core.graby
49
50 wallabag_core.registration_confirmed:
51 class: Wallabag\CoreBundle\EventListener\RegistrationConfirmedListener
52 arguments:
53 - @doctrine.orm.entity_manager
54 - %theme%
55 - %items_on_page%
56 - %rss_limit%
57 - %language%
58 tags:
59 - { name: kernel.event_subscriber }