10 # If you are using this file to build a custom migration consider removing
11 # the cid field to allow incremental migrations.
14 plugin: migration_lookup
18 entity_type: 'constants/entity_type'
19 # field_name & comment_type is calculated in
20 # \Drupal\migrate_drupal\Plugin\migrate\source\d6\Comment::prepareRow()
21 field_name: field_name
22 comment_type: comment_type
31 status: status #In D6, published=0. We reverse the value in prepareRow.
33 'comment_body/value': comment
34 'comment_body/format':
35 plugin: migration_lookup
36 migration: d6_filter_format
39 plugin: entity:comment
40 migration_dependencies:
44 - d6_comment_entity_display
45 - d6_comment_entity_form_display