You are here

content_sync.services.yml in Content Synchronization 8

Same filename and directory in other branches
  1. 8.2 content_sync.services.yml
  2. 3.0.x content_sync.services.yml

File

content_sync.services.yml
View source
  1. services:
  2. logger.cslog:
  3. class: Drupal\content_sync\Logger\ContentSyncLog

  4. arguments: ['@database', '@logger.log_message_parser']
  5. tags:
  6. - { name: logger }
  7. - { name: backend_overridable }
  8. content.storage.staging:
  9. class: Drupal\Core\Config\FileStorage
  10. factory: Drupal\content_sync\Content\ContentFileStorageFactory::getSync
  11. content.storage.sync:
  12. alias: content.storage.staging
  13. content.storage:
  14. class: Drupal\Core\Config\CachedStorage
  15. arguments: ['@content.storage.active', '@cache.content']
  16. content.storage.active:
  17. class: Drupal\Core\Config\DatabaseStorage
  18. arguments: ['@database', 'cs_db_snapshot']
  19. public: false
  20. tags:
  21. - { name: backend_overridable }
  22. cache.content:
  23. class: Drupal\Core\Cache\CacheBackendInterface
  24. tags:
  25. - { name: cache.bin, default_backend: cache.backend.chainedfast }
  26. factory: cache_factory:get
  27. arguments: [content]
  28. # content_sync.content_subscriber:
  29. # class: Drupal\content_sync\EventSubscriber\ContentSyncEvents
  30. # tags:
  31. # - { name: event_subscriber }
  32. content_sync.help_manager:
  33. class: Drupal\content_sync\ContentSyncHelpManager
  34. arguments: ['@current_user', '@config.factory', '@module_handler', '@state', '@path.matcher']