source: pid
entity_id: nid
entity_type: 'constants/entity_type'
- # field_name & comment_type is calculated in
- # \Drupal\migrate_drupal\Plugin\migrate\source\d6\Comment::prepareRow()
- field_name: field_name
- comment_type: comment_type
+ comment_type:
+ -
+ plugin: migration_lookup
+ source: type
+ migration: d6_comment_type
+ -
+ plugin: skip_on_empty
+ method: row
+ field_name: '@comment_type'
subject: subject
uid: uid
name: name