uuid: 9074040c-c91f-474e-ac9a-1a0274c24e03
langcode: en
status: true
dependencies: {  }
_core:
  default_config_hash: IGq94bLLdTigDW3uJgSewMmYrhYBY9ao0SosDqZ99DQ
id: migrate_file_to_media_example_article_images_step1
class: null
field_plugin_method: null
cck_plugin_method: null
migration_tags: null
migration_group: media
label: 'Article Images Media'
source:
  plugin: media_entity_generator
  entity_type: node
  bundle: article
  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
destination:
  plugin: 'entity:media'
migration_dependencies: null
