migrate.migration.d6_node.yml 640 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
id: d6_node
label: Drupal 6 nodes
source:
  plugin: d6_node
process:
  nid: nid
  vid: vid
  type: type
  langcode: language
  title: title
  uid: uid
  status: status
  created: created
  changed: changed
  promote: promote
  sticky: sticky
  body.format:
    plugin: migration
    migration: d6_filter_format
    source: format
  body.value: body

#  unmapped d6 fields.
#  tnid
#  translate
#  moderate
#  comment

destination:
  plugin: entity:node
migration_dependencies:
32 33 34 35 36 37 38
  required:
    - d6_node_type
    - d6_filter_format
  optional:
    - d6_field_instance_widget_settings
    - d6_field_formatter_settings
    - d6_node_settings