You are here

import_block_basic.yml in Import 8.2

migrations/import_block_basic.yml

File

migrations/import_block_basic.yml
View source
  1. class: \Drupal\migrate\Plugin\Migration
  2. id: import_block_basic
  3. label: 'Import block:basic'
  4. source:
  5. plugin: csv
  6. path: '../data/import.block.basic.csv'
  7. header_row_count: 1
  8. keys: [UUID]
  9. csvColumns: { 2: Body }
  10. destination:
  11. plugin: 'entity:block_content'
  12. process:
  13. type: { plugin: default_value, default_value: basic }
  14. uuid: UUID
  15. info: Info
  16. body/value: Body
  17. body/format: { plugin: default_value, default_value: full_html }
  18. provider: import