uuid: 23b231fe-06dd-41ed-8abd-86c025df7564
langcode: en
status: true
dependencies: {  }
id: upgrade_user_picture_field_instance
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 instance configuration'
source:
  plugin: user_picture_instance
  constants:
    entity_type: user
    bundle: user
    name: user_picture
    settings:
      file_extensions: 'png gif jpg jpeg webp'
      alt_field: false
      title_field: false
      min_resolution: ''
      alt_field_required: false
      title_field_required: false
process:
  entity_type:
    -
      plugin: get
      source: constants/entity_type
    -
      plugin: static_map
      map:
        field_collection_item: paragraph
        paragraphs_item: paragraph
      bypass: true
  bundle:
    -
      plugin: get
      source: constants/bundle
  field_name:
    -
      plugin: get
      source: constants/name
  settings:
    -
      plugin: get
      source: constants/settings
  settings/file_directory:
    -
      plugin: get
      source: file_directory
  settings/max_filesize:
    -
      plugin: get
      source: max_filesize
  settings/max_resolution:
    -
      plugin: get
      source: max_resolution
destination:
  plugin: 'entity:field_config'
migration_dependencies:
  required:
    - upgrade_user_picture_field
  optional:
    - upgrade_d7_field_collection_type
