uuid: 39f15184-4210-4505-b2be-74bdb6ff28fc
langcode: en
status: true
dependencies: {  }
id: upgrade_d7_node_member_resource
class: Drupal\migrate\Plugin\Migration
field_plugin_method: null
cck_plugin_method: null
migration_tags:
  - 'Drupal 7'
  - Content
migration_group: migrate_drupal_7
label: 'Nodes (Member resource)'
source:
  plugin: d7_node
  node_type: member_resource
process:
  nid:
    -
      plugin: get
      source: tnid
  vid:
    -
      plugin: get
      source: vid
  langcode:
    -
      plugin: default_value
      source: language
      default_value: und
  title:
    -
      plugin: get
      source: title
  uid:
    -
      plugin: get
      source: node_uid
  status:
    -
      plugin: get
      source: status
  created:
    -
      plugin: get
      source: created
  changed:
    -
      plugin: get
      source: changed
  promote:
    -
      plugin: get
      source: promote
  sticky:
    -
      plugin: get
      source: sticky
  revision_uid:
    -
      plugin: get
      source: revision_uid
  revision_log:
    -
      plugin: get
      source: log
  revision_timestamp:
    -
      plugin: get
      source: timestamp
  comment_node_member_resource/0/status:
    -
      plugin: get
      source: comment
  body:
    -
      plugin: get
      source: body
  field_resource_date:
    -
      plugin: sub_process
      source: field_resource_date
      process:
        value:
          plugin: format_date
          from_format: 'Y-m-d H:i:s'
          to_format: Y-m-d
          source: value
  field_resource_file:
    -
      plugin: sub_process
      source: field_resource_file
      process:
        target_id: fid
        display: display
        description: description
  field_resource_link:
    -
      plugin: field_link
      source: field_resource_link
  field_member_resource_image:
    -
      plugin: sub_process
      source: field_member_resource_image
      process:
        target_id: fid
        alt: alt
        title: title
        width: width
        height: height
destination:
  plugin: 'entity:node'
  default_bundle: member_resource
migration_dependencies:
  required:
    - upgrade_d7_user
    - upgrade_d7_node_type
  optional:
    - upgrade_d7_field_instance
    - upgrade_d7_comment_field_instance
