You are here

social_content_report.services.yml in Open Social 10.0.x

modules/social_features/social_content_report/social_content_report.services.yml

File

modules/social_features/social_content_report/social_content_report.services.yml
View source
  1. services:
  2. social_content_report.flag_subscriber:
  3. class: Drupal\social_content_report\EventSubscriber\FlagSubscriber
  4. arguments:
  5. - '@config.factory'
  6. - '@messenger'
  7. - '@cache_tags.invalidator'
  8. - '@social_content_report.content_report_service'
  9. tags:
  10. - { name: event_subscriber }
  11. social_content_report.content_report_service:
  12. class: Drupal\social_content_report\ContentReportService
  13. arguments: ['@flag', '@current_user', '@module_handler', '@request_stack']
  14. social_content_report.route_subscriber:
  15. class: Drupal\social_content_report\Routing\RouteSubscriber
  16. tags:
  17. - { name: event_subscriber }