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