reinstall.services.yml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. parameters:
  2. reinstall.path: '../data'
  3. services:
  4. logger.channel.reinstall:
  5. parent: logger.channel_base
  6. arguments: ['reinstall']
  7. reinstall.dumper:
  8. class: 'Drupal\reinstall\Dumper'
  9. arguments:
  10. - '@account_switcher'
  11. - '@entity_type.bundle.info'
  12. - '@entity_type.manager'
  13. - '@app.root'
  14. - '@serializer'
  15. - '@event_dispatcher'
  16. - '%reinstall.path%'
  17. - '@logger.channel.reinstall'
  18. reinstall.post_dump.file:
  19. class: 'Drupal\reinstall\EventSubscriber\FilePostDump'
  20. arguments:
  21. - '@file_system'
  22. - '%reinstall.path%'
  23. tags:
  24. - { name: 'event_subscriber' }
  25. reinstall.pre_dump.taxonomy_term:
  26. class: 'Drupal\reinstall\EventSubscriber\TermPreDump'
  27. tags:
  28. - { name: 'event_subscriber' }
  29. reinstall.pre_import:
  30. class: 'Drupal\reinstall\EventSubscriber\UserPreImport'
  31. tags:
  32. - { name: 'event_subscriber' }
  33. reinstall.migrate.map_save:
  34. class: 'Drupal\reinstall\EventSubscriber\IdMapSave'
  35. tags:
  36. - { name: 'event_subscriber' }
  37. reinstall.migrate.post_row_save:
  38. class: 'Drupal\reinstall\EventSubscriber\IdPostRowSave'
  39. tags:
  40. - { name: 'event_subscriber' }