]>
Commit | Line | Data |
---|---|---|
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: [%database_table_prefix%] | |
38 | ||
39 | wallabag_core.graby: | |
40 | class: Graby\Graby | |
41 | arguments: | |
42 | - { error_message: false } | |
43 | ||
44 | wallabag_core.content_proxy: | |
45 | class: Wallabag\CoreBundle\Helper\ContentProxy | |
46 | arguments: | |
47 | - @wallabag_core.graby | |
48 | ||
49 | wallabag_core.registration_confirmed: | |
50 | class: Wallabag\CoreBundle\EventListener\RegistrationConfirmedListener | |
51 | arguments: [@service_container, @doctrine.orm.entity_manager] | |
52 | tags: | |
53 | - { name: kernel.event_subscriber } |