uuid: bdc81156-1ab1-4f7b-b19b-91c0fb19ef28
langcode: en
status: true
dependencies: {  }
id: upgrade_d7_asset_free_html
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 Free HTML'
source:
  plugin: d7_asset
  asset_type: free_html
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_description/value:
    -
      plugin: asset_description
      source: field_asset_html_value
  field_media_description/format:
    -
      plugin: asset_description
      source: field_asset_html_format
  field_media_thumbnail:
    -
      plugin: get
      source: field_asset_thumbnail_target_id
  created:
    -
      plugin: get
      source: created
  changed:
    -
      plugin: get
      source: changed
  uid:
    -
      plugin: get
      source: uid
destination:
  plugin: 'entity:media'
migration_dependencies:
  required: {  }
  optional: {  }
