annotate core/modules/comment/migrations/d6_comment.yml @ 5:12f9dff5fda9 tip

Update to Drupal core 8.7.1
author Chris Cannam
date Thu, 09 May 2019 15:34:47 +0100
parents a9cd425dd02b
children
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@5 16 -
Chris@5 17 plugin: skip_on_empty
Chris@5 18 method: process
Chris@5 19 source: pid
Chris@5 20 -
Chris@5 21 plugin: migration_lookup
Chris@5 22 migration: d6_comment
Chris@4 23 entity_id:
Chris@4 24 -
Chris@4 25 plugin: migration_lookup
Chris@4 26 migration:
Chris@4 27 - d6_node
Chris@4 28 - d6_node_translation
Chris@4 29 source: nid
Chris@4 30 -
Chris@4 31 plugin: skip_on_empty
Chris@4 32 method: row
Chris@0 33 entity_type: 'constants/entity_type'
Chris@0 34 comment_type:
Chris@0 35 -
Chris@0 36 plugin: migration_lookup
Chris@0 37 source: type
Chris@0 38 migration: d6_comment_type
Chris@0 39 -
Chris@0 40 plugin: skip_on_empty
Chris@0 41 method: row
Chris@4 42 langcode: language
Chris@0 43 field_name: '@comment_type'
Chris@0 44 subject: subject
Chris@0 45 uid: uid
Chris@0 46 name: name
Chris@0 47 mail: mail
Chris@0 48 homepage: homepage
Chris@0 49 hostname: hostname
Chris@0 50 created: timestamp
Chris@0 51 changed: timestamp
Chris@0 52 status: status #In D6, published=0. We reverse the value in prepareRow.
Chris@0 53 thread: thread
Chris@0 54 'comment_body/value': comment
Chris@0 55 'comment_body/format':
Chris@0 56 plugin: migration_lookup
Chris@0 57 migration: d6_filter_format
Chris@0 58 source: format
Chris@0 59 destination:
Chris@0 60 plugin: entity:comment
Chris@0 61 migration_dependencies:
Chris@0 62 required:
Chris@0 63 - d6_node
Chris@0 64 - d6_comment_type
Chris@0 65 - d6_comment_entity_display
Chris@0 66 - d6_comment_entity_form_display
Chris@0 67 - d6_user
Chris@0 68 - d6_filter_format
Chris@4 69 optional:
Chris@4 70 - d6_node_translation