Issue #2121299 by andypost, bdone, benjy, penyaskito, chx, claudiu.cristea, damiankloip, gregboggs, InternetDevels, jessehs, jhedstrom, marvil07, mikeryan, pcambra, Xano, YesCT, axoplasm, kgoel, dclavain, jeckman, alvar0hurtad0, Drupali, fastangel, gloob, jhedstrom, joshtaylor, mpgeek, alexpott: Migrate Drupal 6 to Drupal 8
2014-04-23 15:46:22 +00:00
|
|
|
id: d6_comment
|
2015-09-10 17:29:44 +00:00
|
|
|
label: Comments
|
Issue #2876085 by heddn, maxocub, phenaproxima, Jo Fitzgerald, vasi, quietone, yoroy, masipila, larowlan, neclimdul, krystalcode, catch: Before upgrading, audit for potential ID conflicts
2017-12-15 22:36:36 +00:00
|
|
|
audit: true
|
2015-05-28 02:31:07 +00:00
|
|
|
migration_tags:
|
2014-07-15 10:37:53 +00:00
|
|
|
- Drupal 6
|
Issue #2711099 by heddn, Jo Fitzgerald, edysmp, edgewl2, alexpott, Charlotte17, mikeryan, masipila, quietone, maxocub, phenaproxima: Categorize migrations according to their type
2018-02-15 06:27:23 +00:00
|
|
|
- Content
|
Issue #2121299 by andypost, bdone, benjy, penyaskito, chx, claudiu.cristea, damiankloip, gregboggs, InternetDevels, jessehs, jhedstrom, marvil07, mikeryan, pcambra, Xano, YesCT, axoplasm, kgoel, dclavain, jeckman, alvar0hurtad0, Drupali, fastangel, gloob, jhedstrom, joshtaylor, mpgeek, alexpott: Migrate Drupal 6 to Drupal 8
2014-04-23 15:46:22 +00:00
|
|
|
source:
|
|
|
|
plugin: d6_comment
|
|
|
|
constants:
|
|
|
|
entity_type: node
|
|
|
|
process:
|
2016-11-03 15:13:40 +00:00
|
|
|
# If you are using this file to build a custom migration consider removing
|
|
|
|
# the cid field to allow incremental migrations.
|
Issue #2121299 by andypost, bdone, benjy, penyaskito, chx, claudiu.cristea, damiankloip, gregboggs, InternetDevels, jessehs, jhedstrom, marvil07, mikeryan, pcambra, Xano, YesCT, axoplasm, kgoel, dclavain, jeckman, alvar0hurtad0, Drupali, fastangel, gloob, jhedstrom, joshtaylor, mpgeek, alexpott: Migrate Drupal 6 to Drupal 8
2014-04-23 15:46:22 +00:00
|
|
|
cid: cid
|
|
|
|
pid:
|
2018-10-26 09:13:29 +00:00
|
|
|
-
|
|
|
|
plugin: skip_on_empty
|
|
|
|
method: process
|
|
|
|
source: pid
|
|
|
|
-
|
|
|
|
plugin: migration_lookup
|
|
|
|
migration: d6_comment
|
2018-10-04 13:31:28 +00:00
|
|
|
entity_id:
|
|
|
|
-
|
|
|
|
plugin: migration_lookup
|
|
|
|
migration:
|
Issue #2746541 by quietone, alexpott, maxocub, Wim Leers, mikelutz, jofitz, masipila, firewaller, Madhura BK, Gábor Hojtsy, catch, heddn, plach, hchonov: Migrate D6 and D7 node revision translations to D8
2020-03-12 12:00:10 +00:00
|
|
|
- d6_node_complete
|
2018-10-04 13:31:28 +00:00
|
|
|
- d6_node
|
|
|
|
- d6_node_translation
|
|
|
|
source: nid
|
Issue #2746541 by quietone, alexpott, maxocub, Wim Leers, mikelutz, jofitz, masipila, firewaller, Madhura BK, Gábor Hojtsy, catch, heddn, plach, hchonov: Migrate D6 and D7 node revision translations to D8
2020-03-12 12:00:10 +00:00
|
|
|
-
|
|
|
|
plugin: node_complete_node_lookup
|
2018-10-04 13:31:28 +00:00
|
|
|
-
|
|
|
|
plugin: skip_on_empty
|
|
|
|
method: row
|
2014-07-09 09:43:52 +00:00
|
|
|
entity_type: 'constants/entity_type'
|
2017-10-10 14:12:03 +00:00
|
|
|
comment_type:
|
|
|
|
-
|
|
|
|
plugin: migration_lookup
|
|
|
|
source: type
|
|
|
|
migration: d6_comment_type
|
|
|
|
-
|
|
|
|
plugin: skip_on_empty
|
|
|
|
method: row
|
2018-10-04 13:31:28 +00:00
|
|
|
langcode: language
|
2017-10-10 14:12:03 +00:00
|
|
|
field_name: '@comment_type'
|
Issue #2121299 by andypost, bdone, benjy, penyaskito, chx, claudiu.cristea, damiankloip, gregboggs, InternetDevels, jessehs, jhedstrom, marvil07, mikeryan, pcambra, Xano, YesCT, axoplasm, kgoel, dclavain, jeckman, alvar0hurtad0, Drupali, fastangel, gloob, jhedstrom, joshtaylor, mpgeek, alexpott: Migrate Drupal 6 to Drupal 8
2014-04-23 15:46:22 +00:00
|
|
|
subject: subject
|
2015-02-02 10:41:16 +00:00
|
|
|
uid: uid
|
Issue #2121299 by andypost, bdone, benjy, penyaskito, chx, claudiu.cristea, damiankloip, gregboggs, InternetDevels, jessehs, jhedstrom, marvil07, mikeryan, pcambra, Xano, YesCT, axoplasm, kgoel, dclavain, jeckman, alvar0hurtad0, Drupali, fastangel, gloob, jhedstrom, joshtaylor, mpgeek, alexpott: Migrate Drupal 6 to Drupal 8
2014-04-23 15:46:22 +00:00
|
|
|
name: name
|
|
|
|
mail: mail
|
|
|
|
homepage: homepage
|
|
|
|
hostname: hostname
|
|
|
|
created: timestamp
|
|
|
|
changed: timestamp
|
|
|
|
status: status #In D6, published=0. We reverse the value in prepareRow.
|
|
|
|
thread: thread
|
2014-07-09 09:43:52 +00:00
|
|
|
'comment_body/value': comment
|
|
|
|
'comment_body/format':
|
2017-04-28 14:05:10 +00:00
|
|
|
plugin: migration_lookup
|
Issue #2121299 by andypost, bdone, benjy, penyaskito, chx, claudiu.cristea, damiankloip, gregboggs, InternetDevels, jessehs, jhedstrom, marvil07, mikeryan, pcambra, Xano, YesCT, axoplasm, kgoel, dclavain, jeckman, alvar0hurtad0, Drupali, fastangel, gloob, jhedstrom, joshtaylor, mpgeek, alexpott: Migrate Drupal 6 to Drupal 8
2014-04-23 15:46:22 +00:00
|
|
|
migration: d6_filter_format
|
|
|
|
source: format
|
|
|
|
destination:
|
|
|
|
plugin: entity:comment
|
|
|
|
migration_dependencies:
|
2014-05-13 05:06:21 +00:00
|
|
|
required:
|
2016-03-14 12:16:40 +00:00
|
|
|
- d6_node
|
2014-08-11 13:59:58 +00:00
|
|
|
- d6_comment_type
|
2014-05-13 05:06:21 +00:00
|
|
|
- d6_comment_entity_display
|
|
|
|
- d6_comment_entity_form_display
|
2015-09-03 17:07:45 +00:00
|
|
|
- d6_user
|
2014-05-13 05:06:21 +00:00
|
|
|
- d6_filter_format
|
2018-10-04 13:31:28 +00:00
|
|
|
optional:
|
|
|
|
- d6_node_translation
|