import_node_page.yml in Import 8.2
migrations/import_node_page.yml
File
migrations/import_node_page.ymlView source
- class: \Drupal\migrate\Plugin\Migration
- id: import_node_page
- label: 'Import node:page'
- source:
- plugin: csv
- path: '../data/import.node.page.csv'
- header_row_count: 1
- keys: [Title]
- destination:
- plugin: 'entity:node'
- process:
- type: { plugin: default_value, default_value: page }
- title: Title
- body/value: Body
- body/format: { plugin: default_value, default_value: full_html }
- provider: import