Mercurial > hg > cmmr2012-drupal-site
annotate core/modules/comment/migrations/d7_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: d7_comment |
Chris@0 | 2 label: Comments |
Chris@0 | 3 audit: true |
Chris@0 | 4 migration_tags: |
Chris@0 | 5 - Drupal 7 |
Chris@0 | 6 - Content |
Chris@4 | 7 class: Drupal\comment\Plugin\migrate\D7Comment |
Chris@0 | 8 source: |
Chris@0 | 9 plugin: d7_comment |
Chris@0 | 10 constants: |
Chris@0 | 11 entity_type: node |
Chris@0 | 12 process: |
Chris@0 | 13 # If you are using this file to build a custom migration consider removing |
Chris@0 | 14 # the cid field to allow incremental migrations. |
Chris@0 | 15 cid: cid |
Chris@0 | 16 pid: |
Chris@0 | 17 plugin: migration_lookup |
Chris@0 | 18 migration: d7_comment |
Chris@0 | 19 source: pid |
Chris@4 | 20 entity_id: |
Chris@4 | 21 - |
Chris@4 | 22 plugin: migration_lookup |
Chris@4 | 23 migration: |
Chris@4 | 24 - d7_node |
Chris@4 | 25 - d7_node_translation |
Chris@4 | 26 source: nid |
Chris@4 | 27 - |
Chris@4 | 28 plugin: skip_on_empty |
Chris@4 | 29 method: row |
Chris@0 | 30 entity_type: 'constants/entity_type' |
Chris@0 | 31 comment_type: |
Chris@0 | 32 - |
Chris@0 | 33 plugin: migration_lookup |
Chris@0 | 34 source: node_type |
Chris@0 | 35 migration: d7_comment_type |
Chris@0 | 36 - |
Chris@0 | 37 plugin: skip_on_empty |
Chris@0 | 38 method: row |
Chris@4 | 39 langcode: language |
Chris@0 | 40 field_name: '@comment_type' |
Chris@0 | 41 subject: subject |
Chris@0 | 42 uid: uid |
Chris@0 | 43 name: name |
Chris@0 | 44 mail: mail |
Chris@0 | 45 homepage: homepage |
Chris@0 | 46 hostname: hostname |
Chris@0 | 47 created: created |
Chris@0 | 48 changed: changed |
Chris@0 | 49 status: status |
Chris@0 | 50 thread: thread |
Chris@0 | 51 comment_body: comment_body |
Chris@0 | 52 destination: |
Chris@0 | 53 plugin: entity:comment |
Chris@0 | 54 migration_dependencies: |
Chris@0 | 55 required: |
Chris@0 | 56 - d7_node |
Chris@0 | 57 - d7_comment_type |
Chris@4 | 58 optional: |
Chris@4 | 59 - d7_node_translation |