X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fuser%2Fmigrations%2Fuser_picture_field.yml;fp=web%2Fcore%2Fmodules%2Fuser%2Fmigrations%2Fuser_picture_field.yml;h=95c2d6a1f24401a76c17dc38ef82ef447245369e;hp=0000000000000000000000000000000000000000;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0 diff --git a/web/core/modules/user/migrations/user_picture_field.yml b/web/core/modules/user/migrations/user_picture_field.yml new file mode 100644 index 000000000..95c2d6a1f --- /dev/null +++ b/web/core/modules/user/migrations/user_picture_field.yml @@ -0,0 +1,26 @@ +id: user_picture_field +label: User picture field configuration +migration_tags: + - Drupal 6 + - Drupal 7 + - Configuration +source: + # We do an empty source and a proper destination to have an idmap for + # dependencies. + plugin: md_empty + constants: + entity_type: user + type: image + name: user_picture + cardinality: 1 + source_module: user +process: + entity_type: 'constants/entity_type' + field_name: 'constants/name' + type: 'constants/type' + cardinality: 'constants/cardinality' +destination: + plugin: entity:field_storage_config + dependencies: + module: + - image