You are here

service social_private_message.service in Open Social 8.8

Same name and namespace in other branches
  1. 8.9 modules/social_features/social_private_message/social_private_message.services.yml \social_private_message.service
  2. 8 modules/social_features/social_private_message/social_private_message.services.yml \social_private_message.service
  3. 8.2 modules/social_features/social_private_message/social_private_message.services.yml \social_private_message.service
  4. 8.3 modules/social_features/social_private_message/social_private_message.services.yml \social_private_message.service
  5. 8.4 modules/social_features/social_private_message/social_private_message.services.yml \social_private_message.service
  6. 8.5 modules/social_features/social_private_message/social_private_message.services.yml \social_private_message.service
  7. 8.6 modules/social_features/social_private_message/social_private_message.services.yml \social_private_message.service
  8. 8.7 modules/social_features/social_private_message/social_private_message.services.yml \social_private_message.service
  9. 10.3.x modules/social_features/social_private_message/social_private_message.services.yml \social_private_message.service
  10. 10.0.x modules/social_features/social_private_message/social_private_message.services.yml \social_private_message.service
  11. 10.1.x modules/social_features/social_private_message/social_private_message.services.yml \social_private_message.service
  12. 10.2.x modules/social_features/social_private_message/social_private_message.services.yml \social_private_message.service

Class

Drupal\social_private_message\Service\SocialPrivateMessageService
3 string references to social_private_message.service
social_private_message_entity_view_alter in modules/social_features/social_private_message/social_private_message.module
Implements hook_entity_view_alter().
social_private_message_pm_thread_delete_time_update in modules/social_features/social_private_message/social_private_message.module
Implements hook_ENTITY_TYPE_update().
social_private_message_private_message_thread_insert in modules/social_features/social_private_message/social_private_message.module
When the user creates a message, mark this thread as read for the author.

File

modules/social_features/social_private_message/social_private_message.services.yml
modules/social_features/social_private_message/social_private_message.services.yml

View source
  1. class: Drupal\social_private_message\Service\SocialPrivateMessageService
  2. arguments:
  3. - '@private_message.mapper'
  4. - '@current_user'
  5. - '@config.factory'
  6. - '@user.data'
  7. - '@cache_tags.invalidator'
  8. - '@entity_type.manager'
  9. - '@datetime.time'
  10. - '@database'