uuid: ac236d11-671d-4f8f-8bb1-b6f2170b0779
langcode: en
status: true
dependencies: {  }
id: upgrade_d7_asset_image
class: Drupal\migrate\Plugin\Migration
field_plugin_method: null
cck_plugin_method: null
migration_tags:
  - 'Drupal 7'
  - Content
migration_group: migrate_drupal_7
label: 'Asset Image'
source:
  plugin: d7_asset
  asset_type: image
process:
  mid:
    -
      plugin: get
      source: aid
  bundle:
    -
      plugin: d7_asset_type
      source: type
  name:
    -
      plugin: get
      source: title
  field_media_archived:
    -
      plugin: get
      source: field_archived_value
  field_media_archive_on:
    -
      plugin: format_date
      from_format: U
      to_format: 'Y-m-d\TH:i:s'
      source: field_archive_timestamp_value
  field_media_caption/value:
    -
      plugin: get
      source: field_caption_value
  field_media_copyright/value:
    -
      plugin: get
      source: field_copyright_value
  field_media_description/value:
    -
      plugin: asset_description
      source: field_asset_image_description_value
  field_media_description/format:
    -
      plugin: asset_description
      source: field_asset_image_description_format
  field_media_downloadable:
    -
      plugin: get
      source: field_asset_downloadable_value
  field_media_image/target_id:
    -
      plugin: get
      source: field_asset_image_fid
  field_media_image/langcode:
    -
      plugin: get
      source: field_asset_image_language
  field_media_image/delta:
    -
      plugin: get
      source: field_asset_image_delta
  field_media_image/alt:
    -
      plugin: get
      source: field_asset_image_alt
  field_media_image/title:
    -
      plugin: get
      source: field_asset_image_title
  field_media_image/width:
    -
      plugin: get
      source: field_asset_image_width
  field_media_image/height:
    -
      plugin: get
      source: field_asset_image_height
  field_media_link:
    -
      plugin: field_link_process
      source:
        - field_asset_link_url
        - field_asset_link_title
        - field_asset_link_attributes
  field_media_source:
    -
      plugin: get
      source: field_media_source
  field_media_animated_gif:
    -
      plugin: get
      source: field_animated_gif_value
  created:
    -
      plugin: get
      source: created
  changed:
    -
      plugin: get
      source: changed
  uid:
    -
      plugin: get
      source: uid
destination:
  plugin: 'entity:media'
migration_dependencies:
  required: {  }
  optional: {  }
