2015-09-03 17:07:45 +00:00
|
|
|
id: d7_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-09-03 17:07:45 +00:00
|
|
|
migration_tags:
|
|
|
|
- Drupal 7
|
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
|
2018-06-28 22:11:06 +00:00
|
|
|
class: Drupal\comment\Plugin\migrate\D7Comment
|
2015-09-03 17:07:45 +00:00
|
|
|
source:
|
|
|
|
plugin: d7_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.
|
2015-09-03 17:07:45 +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: d7_comment
|
2018-10-04 13:31:28 +00:00
|
|
|
entity_id:
|
|
|
|
-
|
|
|
|
plugin: migration_lookup
|
|
|
|
migration:
|
|
|
|
- d7_node
|
|
|
|
- d7_node_translation
|
|
|
|
source: nid
|
|
|
|
-
|
|
|
|
plugin: skip_on_empty
|
|
|
|
method: row
|
2015-09-03 17:07:45 +00:00
|
|
|
entity_type: 'constants/entity_type'
|
2017-09-29 15:39:02 +00:00
|
|
|
comment_type:
|
|
|
|
-
|
|
|
|
plugin: migration_lookup
|
2017-10-10 14:12:03 +00:00
|
|
|
source: node_type
|
2017-09-29 15:39:02 +00:00
|
|
|
migration: d7_comment_type
|
|
|
|
-
|
|
|
|
plugin: skip_on_empty
|
|
|
|
method: row
|
2018-10-04 13:31:28 +00:00
|
|
|
langcode: language
|
2017-09-29 15:39:02 +00:00
|
|
|
field_name: '@comment_type'
|
2015-09-03 17:07:45 +00:00
|
|
|
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:
|
2016-03-14 12:16:40 +00:00
|
|
|
- d7_node
|
2015-09-03 17:07:45 +00:00
|
|
|
- d7_comment_type
|
2018-10-04 13:31:28 +00:00
|
|
|
optional:
|
|
|
|
- d7_node_translation
|