X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=web%2Fcore%2Fmodules%2Fuser%2Fmigrations%2Fuser_profile_entity_display.yml;fp=web%2Fcore%2Fmodules%2Fuser%2Fmigrations%2Fuser_profile_entity_display.yml;h=73366362690a4b14bf9ca64afb150100b13cde3f;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hp=0000000000000000000000000000000000000000;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0;p=yaffs-website diff --git a/web/core/modules/user/migrations/user_profile_entity_display.yml b/web/core/modules/user/migrations/user_profile_entity_display.yml new file mode 100644 index 000000000..733663626 --- /dev/null +++ b/web/core/modules/user/migrations/user_profile_entity_display.yml @@ -0,0 +1,45 @@ +id: user_profile_entity_display +label: User profile display configuration +migration_tags: + - Drupal 6 + - Drupal 7 + - Configuration +source: + plugin: profile_field + constants: + entity_type: user + bundle: user + view_mode: default + options: + label: hidden + settings: {} +process: + entity_type: 'constants/entity_type' + bundle: 'constants/bundle' + view_mode: 'constants/view_mode' + field_name: name + type: + plugin: static_map + source: type + map: + checkbox: list_default + date: datetime_default + list: text_default + selection: list_default + textfield: text_default + textarea: text_default + url: link + options: 'constants/options' + 'options/type': '@type' + hidden: + plugin: static_map + source: visibility + default_value: false + map: + 1: true # PROFILE_PRIVATE + 4: true # PROFILE_HIDDEN +destination: + plugin: component_entity_display +migration_dependencies: + required: + - user_profile_field_instance