You are here

default_content.services.yml in Default Content for D8 2.0.x

Same filename and directory in other branches
  1. 8 default_content.services.yml

File

default_content.services.yml
View source
  1. parameters:
  2. default_content.link_domain: 'http://drupal.org'
  3. services:
  4. default_content.content_file_storage:
  5. class: Drupal\default_content\ContentFileStorage
  6. arguments: ['@file_system']
  7. default_content.importer:
  8. class: Drupal\default_content\Importer
  9. 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']
  10. default_content.exporter:
  11. class: Drupal\default_content\Exporter
  12. arguments: ['@entity_type.manager', '@entity.repository', '@event_dispatcher', '@module_handler', '@info_parser', '@default_content.content_file_storage', '@default_content.content_entity_normalizer']
  13. default_content.config_subscriber:
  14. class: Drupal\default_content\Config\DefaultContentConfigSubscriber
  15. arguments: ['@default_content.importer']
  16. tags: [{ name: event_subscriber }]
  17. default_content.content_entity_normalizer:
  18. class: Drupal\default_content\Normalizer\ContentEntityNormalizer
  19. arguments: ['@entity_type.manager', '@module_handler', '@entity.repository', '@language_manager']