diff options
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources/config/services.yml')
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/config/services.yml | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/config/services.yml b/src/Wallabag/CoreBundle/Resources/config/services.yml index 3beb5d0e..c38787de 100644 --- a/src/Wallabag/CoreBundle/Resources/config/services.yml +++ b/src/Wallabag/CoreBundle/Resources/config/services.yml | |||
@@ -13,6 +13,11 @@ services: | |||
13 | tags: | 13 | tags: |
14 | - { name: form.type, alias: config } | 14 | - { name: form.type, alias: config } |
15 | 15 | ||
16 | wallabag_core.form.registration: | ||
17 | class: Wallabag\CoreBundle\Form\Type\RegistrationType | ||
18 | tags: | ||
19 | - { name: form.type, alias: wallabag_user_registration } | ||
20 | |||
16 | wallabag_core.form.type.forgot_password: | 21 | wallabag_core.form.type.forgot_password: |
17 | class: Wallabag\CoreBundle\Form\Type\ForgotPasswordType | 22 | class: Wallabag\CoreBundle\Form\Type\ForgotPasswordType |
18 | arguments: | 23 | arguments: |
@@ -29,7 +34,8 @@ services: | |||
29 | 34 | ||
30 | wallabag_core.doctrine.prefixed_naming_strategy: | 35 | wallabag_core.doctrine.prefixed_naming_strategy: |
31 | class: Wallabag\CoreBundle\Doctrine\Mapping\PrefixedNamingStrategy | 36 | class: Wallabag\CoreBundle\Doctrine\Mapping\PrefixedNamingStrategy |
32 | arguments: [%database_table_prefix%] | 37 | arguments: |
38 | - %database_table_prefix% | ||
33 | 39 | ||
34 | wallabag_core.graby: | 40 | wallabag_core.graby: |
35 | class: Graby\Graby | 41 | class: Graby\Graby |
@@ -40,3 +46,14 @@ services: | |||
40 | class: Wallabag\CoreBundle\Helper\ContentProxy | 46 | class: Wallabag\CoreBundle\Helper\ContentProxy |
41 | arguments: | 47 | arguments: |
42 | - @wallabag_core.graby | 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 } | ||