Mercurial > hg > isophonics-drupal-site
annotate core/modules/comment/migrations/d6_comment.yml @ 15:e200cb7efeb3
Update Drupal core to 8.5.3 via Composer
author | Chris Cannam |
---|---|
date | Thu, 26 Apr 2018 11:26:54 +0100 |
parents | 1fec387a4317 |
children | 129ea1e6d783 |
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@14 | 19 entity_id: nid |
Chris@14 | 20 entity_type: 'constants/entity_type' |
Chris@14 | 21 comment_type: |
Chris@14 | 22 - |
Chris@14 | 23 plugin: migration_lookup |
Chris@14 | 24 source: type |
Chris@14 | 25 migration: d6_comment_type |
Chris@14 | 26 - |
Chris@14 | 27 plugin: skip_on_empty |
Chris@14 | 28 method: row |
Chris@14 | 29 field_name: '@comment_type' |
Chris@14 | 30 subject: subject |
Chris@14 | 31 uid: uid |
Chris@14 | 32 name: name |
Chris@14 | 33 mail: mail |
Chris@14 | 34 homepage: homepage |
Chris@14 | 35 hostname: hostname |
Chris@14 | 36 created: timestamp |
Chris@14 | 37 changed: timestamp |
Chris@14 | 38 status: status #In D6, published=0. We reverse the value in prepareRow. |
Chris@14 | 39 thread: thread |
Chris@14 | 40 'comment_body/value': comment |
Chris@14 | 41 'comment_body/format': |
Chris@14 | 42 plugin: migration_lookup |
Chris@14 | 43 migration: d6_filter_format |
Chris@14 | 44 source: format |
Chris@14 | 45 destination: |
Chris@14 | 46 plugin: entity:comment |
Chris@14 | 47 migration_dependencies: |
Chris@14 | 48 required: |
Chris@14 | 49 - d6_node |
Chris@14 | 50 - d6_comment_type |
Chris@14 | 51 - d6_comment_entity_display |
Chris@14 | 52 - d6_comment_entity_form_display |
Chris@14 | 53 - d6_user |
Chris@14 | 54 - d6_filter_format |