private_message.services.yml in Private Message 8.2
File
private_message.services.yml
View source
- parameters:
- private_message.mapper.class: 'Drupal\private_message\Mapper\PrivateMessageMapper'
- private_message.service.class: 'Drupal\private_message\Service\PrivateMessageService'
- private_message.event_subscriber.class: 'Drupal\private_message\Event\PrivateMessageEventSubscriber'
- cache_context.private_message_thread.class: 'Drupal\private_message\Cache\Context\PrivateMessageThreadCacheContext'
- private_message.notifier.class: 'Drupal\private_message\Service\PrivateMessageNotifier'
- private_message.thread_manager.class: 'Drupal\private_message\Service\PrivateMessageThreadManager'
- private_message.private_message_config_form_manager.class: 'Drupal\private_message\PluginManager\PrivateMessageConfigFormManager'
-
- services:
- private_message.mapper:
- class: '%private_message.mapper.class%'
- arguments:
- - '@database'
- - '@current_user'
-
- private_message.service:
- class: '%private_message.service.class%'
- arguments:
- - '@private_message.mapper'
- - '@current_user'
- - '@config.factory'
- - '@user.data'
- - '@cache_tags.invalidator'
- - '@entity_type.manager'
- - '@datetime.time'
-
- cache_context.private_message_thread:
- class: '%cache_context.private_message_thread.class%'
- arguments:
- - '@current_route_match'
- tags:
- - { name: cache.context}
-
- private_message.notifier:
- class: '%private_message.notifier.class%'
- arguments:
- - '@private_message.service'
- - '@current_user'
- - '@user.data'
- - '@config.factory'
- - '@entity_type.manager'
- - '@message_notify.sender'
-
- private_message.thread_manager:
- class: '%private_message.thread_manager.class%'
- arguments:
- - '@private_message.service'
- - '@private_message.notifier'
-
- private_message.private_message_config_form_manager:
- class: '%private_message.private_message_config_form_manager.class%'
- parent: default_plugin_manager