annotate core/modules/comment/migrations/d6_comment.yml @ 4:a9cd425dd02b

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:11:55 +0000
parents c75dbcec494b
children 12f9dff5fda9
rev   line source
Chris@0 1 id: d6_comment
Chris@0 2 label: Comments
Chris@0 3 audit: true
Chris@0 4 migration_tags:
Chris@0 5 - Drupal 6
Chris@0 6 - Content
Chris@0 7 source:
Chris@0 8 plugin: d6_comment
Chris@0 9 constants:
Chris@0 10 entity_type: node
Chris@0 11 process:
Chris@0 12 # If you are using this file to build a custom migration consider removing
Chris@0 13 # the cid field to allow incremental migrations.
Chris@0 14 cid: cid
Chris@0 15 pid:
Chris@0 16 plugin: migration_lookup
Chris@0 17 migration: d6_comment
Chris@0 18 source: pid
Chris@4 19 entity_id:
Chris@4 20 -
Chris@4 21 plugin: migration_lookup
Chris@4 22 migration:
Chris@4 23 - d6_node
Chris@4 24 - d6_node_translation
Chris@4 25 source: nid
Chris@4 26 -
Chris@4 27 plugin: skip_on_empty
Chris@4 28 method: row
Chris@0 29 entity_type: 'constants/entity_type'
Chris@0 30 comment_type:
Chris@0 31 -
Chris@0 32 plugin: migration_lookup
Chris@0 33 source: type
Chris@0 34 migration: d6_comment_type
Chris@0 35 -
Chris@0 36 plugin: skip_on_empty
Chris@0 37 method: row
Chris@4 38 langcode: language
Chris@0 39 field_name: '@comment_type'
Chris@0 40 subject: subject
Chris@0 41 uid: uid
Chris@0 42 name: name
Chris@0 43 mail: mail
Chris@0 44 homepage: homepage
Chris@0 45 hostname: hostname
Chris@0 46 created: timestamp
Chris@0 47 changed: timestamp
Chris@0 48 status: status #In D6, published=0. We reverse the value in prepareRow.
Chris@0 49 thread: thread
Chris@0 50 'comment_body/value': comment
Chris@0 51 'comment_body/format':
Chris@0 52 plugin: migration_lookup
Chris@0 53 migration: d6_filter_format
Chris@0 54 source: format
Chris@0 55 destination:
Chris@0 56 plugin: entity:comment
Chris@0 57 migration_dependencies:
Chris@0 58 required:
Chris@0 59 - d6_node
Chris@0 60 - d6_comment_type
Chris@0 61 - d6_comment_entity_display
Chris@0 62 - d6_comment_entity_form_display
Chris@0 63 - d6_user
Chris@0 64 - d6_filter_format
Chris@4 65 optional:
Chris@4 66 - d6_node_translation