You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 lines
1.1 KiB

2 years ago
uuid: 283ea4b0-c444-4e69-b8db-d3aaad548bf7
langcode: en
status: true
dependencies: { }
id: upgrade_user_picture_field
class: Drupal\migrate\Plugin\Migration
field_plugin_method: null
cck_plugin_method: null
migration_tags:
- 'Drupal 6'
- 'Drupal 7'
- Configuration
migration_group: migrate_drupal_7
label: 'User picture field configuration'
source:
plugin: md_empty
constants:
entity_type: user
type: image
name: user_picture
cardinality: 1
source_module: user
process:
entity_type:
-
plugin: get
source: constants/entity_type
-
plugin: static_map
map:
field_collection_item: paragraph
paragraphs_item: paragraph
bypass: true
field_name:
-
plugin: get
source: constants/name
type:
-
plugin: get
source: constants/type
cardinality:
-
plugin: get
source: constants/cardinality
destination:
plugin: 'entity:field_storage_config'
dependencies:
module:
- image
migration_dependencies:
required: { }
optional:
- upgrade_d7_field_collection_type
- upgrade_d7_paragraphs_type