uuid: cfbe67d9-0adb-483b-b67c-26afde556bd4
langcode: en
status: true
dependencies: {  }
id: upgrade_d7_asset_file
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 File'
source:
  plugin: d7_asset
  asset_type: file
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_show_inline:
    -
      plugin: get
      source: field_files_inline_value
  field_media_label:
    -
      plugin: get
      source: field_label_value
  field_media_file:
    -
      plugin: get
      source: field_file
  field_media_who_can_see_this:
    -
      plugin: get
      source: field_view_permissions_value
  created:
    -
      plugin: get
      source: created
  changed:
    -
      plugin: get
      source: changed
  uid:
    -
      plugin: get
      source: uid
destination:
  plugin: 'entity:media'
migration_dependencies:
  required: {  }
  optional: {  }
