content_sync.services.yml in Content Synchronization 8
File
content_sync.services.yml
View source
- services:
- logger.cslog:
- class: Drupal\content_sync\Logger\ContentSyncLog
- arguments: ['@database', '@logger.log_message_parser']
- tags:
- - { name: logger }
- - { name: backend_overridable }
- content.storage.staging:
- class: Drupal\Core\Config\FileStorage
- factory: Drupal\content_sync\Content\ContentFileStorageFactory::getSync
- content.storage.sync:
- alias: content.storage.staging
- content.storage:
- class: Drupal\Core\Config\CachedStorage
- arguments: ['@content.storage.active', '@cache.content']
- content.storage.active:
- class: Drupal\Core\Config\DatabaseStorage
- arguments: ['@database', 'cs_db_snapshot']
- public: false
- tags:
- - { name: backend_overridable }
- cache.content:
- class: Drupal\Core\Cache\CacheBackendInterface
- tags:
- - { name: cache.bin, default_backend: cache.backend.chainedfast }
- factory: cache_factory:get
- arguments: [content]
- # content_sync.content_subscriber:
- # class: Drupal\content_sync\EventSubscriber\ContentSyncEvents
- # tags:
- # - { name: event_subscriber }
- content_sync.help_manager:
- class: Drupal\content_sync\ContentSyncHelpManager
- arguments: ['@current_user', '@config.factory', '@module_handler', '@state', '@path.matcher']