You are here

default_content.services.yml in Default Content for D8 8

Same filename and directory in other branches
  1. 2.0.x 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.scanner:
  5. class: Drupal\default_content\Scanner
  6. default_content.importer:
  7. class: Drupal\default_content\Importer
  8. arguments: ['@serializer', '@entity_type.manager', '@hal.link_manager', '@event_dispatcher', '@default_content.scanner', '%default_content.link_domain%', '@account_switcher']
  9. default_content.exporter:
  10. class: Drupal\default_content\Exporter
  11. arguments: ['@serializer', '@entity_type.manager', '@entity.repository', '@hal.link_manager', '@event_dispatcher', '@module_handler', '@info_parser', '%default_content.link_domain%', '@account_switcher', '@file_system']
  12. default_content.config_subscriber:
  13. class: Drupal\default_content\Config\DefaultContentConfigSubscriber
  14. arguments: ['@default_content.importer']
  15. tags: [{ name: event_subscriber }]