X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fcomment%2Fmigrations%2Fd6_comment_entity_display.yml;fp=web%2Fcore%2Fmodules%2Fcomment%2Fmigrations%2Fd6_comment_entity_display.yml;h=09340787844dd809001141cb64ebe25825a8c198;hp=0000000000000000000000000000000000000000;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0 diff --git a/web/core/modules/comment/migrations/d6_comment_entity_display.yml b/web/core/modules/comment/migrations/d6_comment_entity_display.yml new file mode 100644 index 000000000..093407878 --- /dev/null +++ b/web/core/modules/comment/migrations/d6_comment_entity_display.yml @@ -0,0 +1,32 @@ +id: d6_comment_entity_display +label: Comment display configuration +migration_tags: + - Drupal 6 + - Configuration +source: + plugin: d6_node_type + constants: + entity_type: node + view_mode: default + options: + label: hidden + type: comment_default + weight: 20 +process: + entity_type: 'constants/entity_type' + 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: type +destination: + plugin: component_entity_display +migration_dependencies: + required: + - d6_comment_field_instance