You are here

d7_paragraphs_revisions.yml in Paragraphs 8

migrations/d7_paragraphs_revisions.yml

File

migrations/d7_paragraphs_revisions.yml
View source
  1. id: d7_paragraphs_revisions
  2. label: Paragraphs Revisions
  3. migration_tags:
  4. - Drupal 7
  5. - Content
  6. - Paragraphs Revisions Content
  7. deriver: Drupal\paragraphs\Plugin\migrate\D7ParagraphsItemDeriver
  8. source:
  9. plugin: d7_paragraphs_item_revision
  10. process:
  11. id:
  12. -
  13. plugin: paragraphs_lookup
  14. tags:
  15. - Paragraphs Content
  16. source: item_id
  17. -
  18. plugin: extract
  19. index:
  20. - id
  21. type: bundle
  22. # @todo Get the langcode from the parent entity revision.
  23. # See https://drupal.org/i/3146632.
  24. # langcode: langcode
  25. destination:
  26. plugin: entity_reference_revisions:paragraph
  27. new_revisions: TRUE
  28. migration_dependencies:
  29. required:
  30. - d7_paragraphs