parameters: reinstall.path: '../data' services: logger.channel.reinstall: parent: logger.channel_base arguments: ['reinstall'] reinstall.dumper: class: 'Drupal\reinstall\Dumper' arguments: - '@account_switcher' - '@entity_type.bundle.info' - '@entity_type.manager' - '@app.root' - '@serializer' - '@event_dispatcher' - '%reinstall.path%' - '@logger.channel.reinstall' reinstall.post_dump.file: class: 'Drupal\reinstall\EventSubscriber\FilePostDump' arguments: - '@file_system' - '%reinstall.path%' tags: - { name: 'event_subscriber' } reinstall.pre_dump.taxonomy_term: class: 'Drupal\reinstall\EventSubscriber\TermPreDump' tags: - { name: 'event_subscriber' } reinstall.pre_import: class: 'Drupal\reinstall\EventSubscriber\UserPreImport' tags: - { name: 'event_subscriber' } reinstall.migrate.map_save: class: 'Drupal\reinstall\EventSubscriber\IdMapSave' tags: - { name: 'event_subscriber' } reinstall.migrate.post_row_save: class: 'Drupal\reinstall\EventSubscriber\IdPostRowSave' tags: - { name: 'event_subscriber' }