X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fnode%2Fmigration_templates%2Fd6_view_modes.yml;fp=web%2Fcore%2Fmodules%2Fnode%2Fmigration_templates%2Fd6_view_modes.yml;h=815709b14d66b9f61af93e744268bed1ff5cde7b;hb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;hp=0000000000000000000000000000000000000000;hpb=57c063afa3f66b07c4bbddc2d6129a96d90f0aad;p=yaffs-website diff --git a/web/core/modules/node/migration_templates/d6_view_modes.yml b/web/core/modules/node/migration_templates/d6_view_modes.yml new file mode 100644 index 000000000..815709b14 --- /dev/null +++ b/web/core/modules/node/migration_templates/d6_view_modes.yml @@ -0,0 +1,38 @@ +id: d6_view_modes +label: View modes +migration_tags: + - Drupal 6 +source: + plugin: d6_view_mode + constants: + targetEntityType: node + status: true +process: + mode: + plugin: static_map + source: view_mode + map: + 0: normal + 1: preview + 2: search_index + 3: search_result + 4: rss + 5: print + teaser: teaser + full: full + label: + plugin: static_map + source: view_mode + map: + 0: "Normal" + 1: "Preview" + 2: "Search index" + 3: "Search result" + 4: "RSS" + 5: "Print" + teaser: "Teaser" + full: "Full" + targetEntityType: 'constants/targetEntityType' + status: 'constants/status' +destination: + plugin: entity:entity_view_mode