id: d7_node_materiau_i18n
label: Node Materiau i18n
migration_group: d7_materio
audit: true
migration_tags:
  - Drupal 7
  - Content
  - Materio

source:
  plugin: d7_node_materiau_i18n
  node_type: materiau
  translations: true
  # high_water_property:
  #   name: changed
  #   alias: n

destination:
  plugin: entity:node
  translations: true

process:
  nid:
    plugin: migration_lookup
    source: nid
    migration: d7_node_materiau
    no_stub: true
  type:
    plugin: default_value
    default_value: materiau
  langcode: language
  content_translation_source: source
  title: title
  created: created
  changed: changed

  field_short_description: field_nature_titre
  body:
    plugin: iterator
    source: field_description
    process:
      value: value
      format:
        plugin: default_value
        default_value: wysiwyg

migration_dependencies:
  required:
    - d7_node_materiau
