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