You are here

ultimate_cron.services.yml in Ultimate Cron 8.2

File

ultimate_cron.services.yml
View source
  1. services:
  2. cache.signal:
  3. class: Drupal\Core\Cache\CacheBackendInterface
  4. tags:
  5. - { name: cache.bin }
  6. factory: cache_factory:get
  7. arguments: [signal]
  8. cache.ultimate_cron_logger:
  9. class: Drupal\Core\Cache\CacheBackendInterface
  10. tags:
  11. - { name: cache.bin }
  12. factory: cache_factory:get
  13. arguments: [ultimate_cron_logger]
  14. plugin.manager.ultimate_cron.launcher:
  15. class: Drupal\ultimate_cron\Launcher\LauncherManager
  16. parent: default_plugin_manager
  17. plugin.manager.ultimate_cron.logger:
  18. class: Drupal\ultimate_cron\Logger\LoggerManager
  19. parent: default_plugin_manager
  20. plugin.manager.ultimate_cron.scheduler:
  21. class: Drupal\ultimate_cron\Scheduler\SchedulerManager
  22. parent: default_plugin_manager
  23. ultimate_cron.lock:
  24. class: Drupal\ultimate_cron\Lock\Lock
  25. arguments: ['@ultimate_cron.database_factory']
  26. ultimate_cron.progress:
  27. class: Drupal\ultimate_cron\Progress\Progress
  28. arguments: ['@keyvalue']
  29. ultimate_cron.signal:
  30. class: Drupal\ultimate_cron\Signal\SignalCache
  31. arguments: ['@cache.signal', '@lock']
  32. ultimate_cron.discovery:
  33. class: Drupal\ultimate_cron\CronJobDiscovery
  34. arguments: ['@module_handler', '@plugin.manager.queue_worker', '@config.factory', '@extension.list.module']
  35. logger.ultimate_cron:
  36. class: Drupal\ultimate_cron\Logger\WatchdogLogger
  37. arguments: ['@logger.log_message_parser']
  38. tags:
  39. - { name: logger }
  40. ultimate_cron.queue_worker:
  41. class: Drupal\ultimate_cron\QueueWorker
  42. arguments: ["@plugin.manager.queue_worker", "@queue", "@config.factory"]
  43. ultimate_cron.database_factory:
  44. class: Drupal\Core\Database\Connection
  45. factory: Drupal\ultimate_cron\UltimateCronDatabaseFactory::getConnection