X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=web%2Fcore%2Fmodules%2Fcomment%2Fmigration_templates%2Fd6_comment_entity_display.yml;fp=web%2Fcore%2Fmodules%2Fcomment%2Fmigration_templates%2Fd6_comment_entity_display.yml;h=89e159c47c83d8292a4eecc38d3d42620a65fb0e;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hp=c650673188a9c3dc292d0ebcc8aa45b9b51e9963;hpb=aea91e65e895364e460983b890e295aa5d5540a5;p=yaffs-website diff --git a/web/core/modules/comment/migration_templates/d6_comment_entity_display.yml b/web/core/modules/comment/migration_templates/d6_comment_entity_display.yml index c65067318..89e159c47 100644 --- a/web/core/modules/comment/migration_templates/d6_comment_entity_display.yml +++ b/web/core/modules/comment/migration_templates/d6_comment_entity_display.yml @@ -3,10 +3,9 @@ label: Comment display configuration migration_tags: - Drupal 6 source: - plugin: d6_comment_variable + plugin: d6_node_type constants: entity_type: node - field_name: comment view_mode: default options: label: hidden @@ -14,10 +13,17 @@ source: weight: 20 process: entity_type: 'constants/entity_type' - field_name: 'constants/field_name' + field_name: + - + plugin: migration_lookup + source: type + migration: d6_comment_type + - + plugin: skip_on_empty + method: row view_mode: 'constants/view_mode' options: 'constants/options' - bundle: node_type + bundle: type destination: plugin: component_entity_display migration_dependencies: