annotate core/modules/comment/migrations/d6_comment.yml @ 17:129ea1e6d783

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