You are here

mongodb_watchdog.services.yml in MongoDB 8.2

modules/mongodb_watchdog/mongodb_watchdog.services.yml

File

modules/mongodb_watchdog/mongodb_watchdog.services.yml
View source
  1. parameters:
  2. services:
  3. argument_resolver.mongodb_watchdog.form_state:
  4. class: Drupal\mongodb_watchdog\Controller\ArgumentResolver\FormStateValueResolver
  5. public: false
  6. logger.channel.mongodb_watchdog:
  7. parent: logger.channel_base
  8. arguments: ['mongodb_watchdog']
  9. mongodb.watchdog_storage:
  10. class: 'MongoDB\Database'
  11. factory: ['@mongodb.database_factory', 'get']
  12. arguments: ['logger']
  13. mongodb.logger:
  14. class: Drupal\mongodb_watchdog\Logger
  15. arguments:
  16. - '@mongodb.watchdog_storage'
  17. - '@logger.log_message_parser'
  18. - '@config.factory'
  19. - '@request_stack'
  20. - '@messenger'
  21. - '@datetime.time'
  22. tags:
  23. - { name: logger }
  24. - { name: backend_overridable }
  25. mongodb.watchdog_template_converter:
  26. arguments: ['@logger.channel.mongodb_watchdog', '@mongodb.logger']
  27. class: 'Drupal\mongodb_watchdog\EventTemplateConverter'
  28. tags:
  29. - { name: paramconverter }
  30. mongodb.watchdog_event_controller:
  31. class: 'Drupal\mongodb_watchdog\EventController'
  32. arguments:
  33. - '@config.factory'
  34. - '@date.formatter'
  35. - '@mongodb.logger'
  36. mongodb.watchdog_requirements:
  37. class: '\Drupal\mongodb_watchdog\Install\Requirements'
  38. arguments:
  39. - '@settings'
  40. - '@config.factory'
  41. - '@request_stack'
  42. - '@serialization.yaml'
  43. - '@messenger'
  44. mongodb.watchdog.sanity_check:
  45. class: 'Drupal\mongodb_watchdog\Install\SanityCheck'
  46. arguments:
  47. - '@mongodb.database_factory'
  48. - '@config.factory'