X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fnode%2Fmigration_templates%2Fd6_node_setting_sticky.yml;fp=web%2Fcore%2Fmodules%2Fnode%2Fmigration_templates%2Fd6_node_setting_sticky.yml;h=77ad6cd9b8194da0767e5df3ac13e9e64d922053;hb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;hp=0000000000000000000000000000000000000000;hpb=57c063afa3f66b07c4bbddc2d6129a96d90f0aad;p=yaffs-website diff --git a/web/core/modules/node/migration_templates/d6_node_setting_sticky.yml b/web/core/modules/node/migration_templates/d6_node_setting_sticky.yml new file mode 100644 index 000000000..77ad6cd9b --- /dev/null +++ b/web/core/modules/node/migration_templates/d6_node_setting_sticky.yml @@ -0,0 +1,22 @@ +id: d6_node_setting_sticky +label: Node type 'sticky' setting +migration_tags: + - Drupal 6 +source: + plugin: d6_node_type + constants: + entity_type: node + field_name: sticky +process: + entity_type: 'constants/entity_type' + bundle: type + field_name: 'constants/field_name' + label: + plugin: default_value + default_value: 'Sticky at the top of lists' + 'default_value/0/value': 'options/sticky' +destination: + plugin: entity:base_field_override +migration_dependencies: + required: + - d6_node_type