default_content.services.yml in Default Content for D8 2.0.x
File
default_content.services.yml
View source
- parameters:
- default_content.link_domain: 'http://drupal.org'
- services:
- default_content.content_file_storage:
- class: Drupal\default_content\ContentFileStorage
- arguments: ['@file_system']
- default_content.importer:
- class: Drupal\default_content\Importer
- arguments: ['@serializer', '@entity_type.manager', '@hal.link_manager', '@event_dispatcher', '@default_content.content_file_storage', '%default_content.link_domain%', '@account_switcher', '@default_content.content_entity_normalizer']
- default_content.exporter:
- class: Drupal\default_content\Exporter
- arguments: ['@entity_type.manager', '@entity.repository', '@event_dispatcher', '@module_handler', '@info_parser', '@default_content.content_file_storage', '@default_content.content_entity_normalizer']
- default_content.config_subscriber:
- class: Drupal\default_content\Config\DefaultContentConfigSubscriber
- arguments: ['@default_content.importer']
- tags: [{ name: event_subscriber }]
- default_content.content_entity_normalizer:
- class: Drupal\default_content\Normalizer\ContentEntityNormalizer
- arguments: ['@entity_type.manager', '@module_handler', '@entity.repository', '@language_manager']