Chris@14: id: d7_comment Chris@14: label: Comments Chris@14: audit: true Chris@14: migration_tags: Chris@14: - Drupal 7 Chris@14: - Content Chris@17: class: Drupal\comment\Plugin\migrate\D7Comment Chris@14: source: Chris@14: plugin: d7_comment Chris@14: constants: Chris@14: entity_type: node Chris@14: process: Chris@14: # If you are using this file to build a custom migration consider removing Chris@14: # the cid field to allow incremental migrations. Chris@14: cid: cid Chris@14: pid: Chris@18: - Chris@18: plugin: skip_on_empty Chris@18: method: process Chris@18: source: pid Chris@18: - Chris@18: plugin: migration_lookup Chris@18: migration: d7_comment Chris@17: entity_id: Chris@17: - Chris@17: plugin: migration_lookup Chris@17: migration: Chris@17: - d7_node Chris@17: - d7_node_translation Chris@17: source: nid Chris@17: - Chris@17: plugin: skip_on_empty Chris@17: method: row Chris@14: entity_type: 'constants/entity_type' Chris@14: comment_type: Chris@14: - Chris@14: plugin: migration_lookup Chris@14: source: node_type Chris@14: migration: d7_comment_type Chris@14: - Chris@14: plugin: skip_on_empty Chris@14: method: row Chris@17: langcode: language Chris@14: field_name: '@comment_type' Chris@14: subject: subject Chris@14: uid: uid Chris@14: name: name Chris@14: mail: mail Chris@14: homepage: homepage Chris@14: hostname: hostname Chris@14: created: created Chris@14: changed: changed Chris@14: status: status Chris@14: thread: thread Chris@14: comment_body: comment_body Chris@14: destination: Chris@14: plugin: entity:comment Chris@14: migration_dependencies: Chris@14: required: Chris@14: - d7_node Chris@14: - d7_comment_type Chris@17: optional: Chris@17: - d7_node_translation