Mercurial > hg > cmmr2012-drupal-site
view core/modules/comment/migrations/d7_comment.yml @ 5:12f9dff5fda9 tip
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:34:47 +0100 |
parents | a9cd425dd02b |
children |
line wrap: on
line source
id: d7_comment label: Comments audit: true migration_tags: - Drupal 7 - Content class: Drupal\comment\Plugin\migrate\D7Comment source: plugin: d7_comment constants: entity_type: node process: # If you are using this file to build a custom migration consider removing # the cid field to allow incremental migrations. cid: cid pid: - plugin: skip_on_empty method: process source: pid - plugin: migration_lookup migration: d7_comment entity_id: - plugin: migration_lookup migration: - d7_node - d7_node_translation source: nid - plugin: skip_on_empty method: row entity_type: 'constants/entity_type' comment_type: - plugin: migration_lookup source: node_type migration: d7_comment_type - plugin: skip_on_empty method: row langcode: language field_name: '@comment_type' subject: subject uid: uid name: name mail: mail homepage: homepage hostname: hostname created: created changed: changed status: status thread: thread comment_body: comment_body destination: plugin: entity:comment migration_dependencies: required: - d7_node - d7_comment_type optional: - d7_node_translation