uuid: e21998d6-dfff-406f-9d4a-3f4d7c5f9f8a
langcode: en
status: true
dependencies: {  }
_core:
  default_config_hash: Ju_0pSGy9nUJcNDHF7ntT7SZYZEPGG1PbphmPHz9cYc
id: migrate_file_to_media_example_article_images_step1
class: null
idMap: {  }
field_plugin_method: null
cck_plugin_method: null
migration_tags: null
migration_group: media
label: 'Article Images Media'
source:
  plugin: media_entity_generator
  toggle_media_mapping: true
  entity_type: node
  bundle: article
  include_revisions: false
  langcode: null
  source_langcode: en
  field_names:
    - field_image
    - field_image2
process:
  bundle:
    plugin: default_value
    default_value: image
  name:
    plugin: media_name
    source: file_name
  existing_media_file:
    plugin: check_media_duplicate
    source: target_id
  unique_file_id:
    plugin: check_duplicate
    source: target_id
  field_media_image/target_id: target_id
  field_media_image/alt: alt
  field_media_image/title: title
  langcode: langcode
  uid: uid
destination:
  plugin: 'entity:media'
migration_dependencies: null
include: null
