d7_custom_block.yml

Same filename in other branches
  1. 8.9.x core/modules/block_content/migrations/d7_custom_block.yml
  2. 10 core/modules/block_content/migrations/d7_custom_block.yml
  3. 11.x core/modules/block_content/migrations/d7_custom_block.yml
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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.