id: d6_edlp_evenements label: Edlp Drupal 6 evenement migration migration_tags: - Drupal 6 deriver: Drupal\node\Plugin\migrate\D6NodeDeriver migration_group: d6_edlp source: plugin: d6_edlp_evenements node_type: event process: # In D6, nodes always have a tnid, but it's zero for untranslated nodes. # We normalize it to equal the nid in that case. # @see \Drupal\node\Plugin\migrate\source\d6\Node::prepareRow(). # If you are using this file to build a custom migration consider removing # the nid and vid fields to allow incremental migrations. # nid: tnid # vid: vid type: plugin: default_value default_value: evenement langcode: plugin: default_value source: language default_value: "und" title: - plugin: get source: title - plugin: skip_on_empty method: row # this is not working :( uid: - plugin: migration_lookup migration: d6_edlp_users source: node_uid - plugin: default_value default_value: 1 # status: status created: created changed: changed promote: promote sticky: sticky revision_uid: revision_uid revision_log: log revision_timestamp: timestamp 'body/value': body 'body/format': plugin: default_value default_value: wysiwyg # workflow status: plugin: static_map source: workflow map: 1: 0 2: 0 3: 1 4: 1 field_date: field_date destination: plugin: entity:node migration_dependencies: required: - d6_edlp_users