mongodb_watchdog.services.yml in MongoDB 8.2
modules/mongodb_watchdog/mongodb_watchdog.services.yml
File
modules/mongodb_watchdog/mongodb_watchdog.services.ymlView source
- parameters:
-
- services:
- argument_resolver.mongodb_watchdog.form_state:
- class: Drupal\mongodb_watchdog\Controller\ArgumentResolver\FormStateValueResolver
- public: false
-
- logger.channel.mongodb_watchdog:
- parent: logger.channel_base
- arguments: ['mongodb_watchdog']
-
- mongodb.watchdog_storage:
- class: 'MongoDB\Database'
- factory: ['@mongodb.database_factory', 'get']
- arguments: ['logger']
-
- mongodb.logger:
- class: Drupal\mongodb_watchdog\Logger
- arguments:
- - '@mongodb.watchdog_storage'
- - '@logger.log_message_parser'
- - '@config.factory'
- - '@request_stack'
- - '@messenger'
- - '@datetime.time'
- tags:
- - { name: logger }
- - { name: backend_overridable }
-
- mongodb.watchdog_template_converter:
- arguments: ['@logger.channel.mongodb_watchdog', '@mongodb.logger']
- class: 'Drupal\mongodb_watchdog\EventTemplateConverter'
- tags:
- - { name: paramconverter }
-
- mongodb.watchdog_event_controller:
- class: 'Drupal\mongodb_watchdog\EventController'
- arguments:
- - '@config.factory'
- - '@date.formatter'
- - '@mongodb.logger'
-
- mongodb.watchdog_requirements:
- class: '\Drupal\mongodb_watchdog\Install\Requirements'
- arguments:
- - '@settings'
- - '@config.factory'
- - '@request_stack'
- - '@serialization.yaml'
- - '@messenger'
-
- mongodb.watchdog.sanity_check:
- class: 'Drupal\mongodb_watchdog\Install\SanityCheck'
- arguments:
- - '@mongodb.database_factory'
- - '@config.factory'