You are here

d7_custom_block.yml in Drupal 9

core/modules/block_content/migrations/d7_custom_block.yml

File

core/modules/block_content/migrations/d7_custom_block.yml
View source
  1. id: d7_custom_block
  2. label: Custom blocks
  3. audit: true
  4. migration_tags:
  5. - Drupal 7
  6. - Content
  7. source:
  8. plugin: d7_block_custom
  9. process:
  10. id: bid
  11. info: info
  12. 'body/format':
  13. plugin: migration_lookup
  14. migration: d7_filter_format
  15. source: format
  16. 'body/value': body
  17. destination:
  18. plugin: entity:block_content
  19. default_bundle: basic
  20. no_stub: true
  21. migration_dependencies:
  22. required:
  23. - d7_filter_format
  24. - block_content_body_field