You are here

wbm2cm_restore.yml in Workbench Moderation to Content Moderation 8.2

migrations/wbm2cm_restore.yml

File

migrations/wbm2cm_restore.yml
View source
  1. id: wbm2cm_restore
  2. deriver: '\Drupal\wbm2cm\Plugin\Deriver\RestoreDeriver'
  3. source:
  4. # This must be a valid plugin in order for the migration to be discoverable
  5. # at all, but it will be changed by the deriver.
  6. plugin: embedded_data
  7. keys:
  8. - id
  9. - revision
  10. - langcode
  11. process:
  12. moderation_state:
  13. -
  14. # The plugin configuration will be filled in by the deriver.
  15. plugin: migration_lookup
  16. -
  17. plugin: skip_on_empty
  18. method: row
  19. message: 'The moderation state could not be found in the ID map.'
  20. destination:
  21. # This must be a valid plugin in order for the migration to be discoverable
  22. # at all, but it will be changed by the deriver.
  23. plugin: null
  24. translations: true