uuid: 97f25752-ee54-4e9f-82fa-717bb20b9502
langcode: en
status: true
dependencies: {  }
id: upgrade_d7_node_event
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 (Event)'
source:
  plugin: d7_node
  node_type: event
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_event/0/status:
    -
      plugin: get
      source: comment
  body:
    -
      plugin: body_field_migration_plugin
      source: body
  field_start_date:
    -
      plugin: sub_process
      source: field_start_date
      process:
        value:
          plugin: format_date
          from_format: 'Y-m-d H:i:s'
          to_format: 'Y-m-d\TH:i:s'
          source: value
  field_end_date:
    -
      plugin: sub_process
      source: field_end_date
      process:
        value:
          plugin: format_date
          from_format: 'Y-m-d H:i:s'
          to_format: 'Y-m-d\TH:i:s'
          source: value
  field_media_images:
    -
      plugin: file_migration_plugin
      source: field_images
  field_media_file:
    -
      plugin: file_migration_plugin
      source: field_files
  field_location:
    -
      plugin: get
      source: field_location
  field_link:
    -
      plugin: field_link
      source: field_link
  field_topics:
    -
      plugin: sub_process
      source: field_topics
      process:
        target_id: tid
  field_region:
    -
      plugin: sub_process
      source: field_region
      process:
        target_id: tid
  field_embeded_video:
    -
      plugin: video_field_migration_plugin
      source: field_event_video
  field_event_webinar:
    -
      plugin: event_webinar_field_migration_plugin
      source: field_event_webinar
  field_events_type:
    -
      plugin: sub_process
      source: field_events_type
      process:
        target_id: tid
  field_hide_time:
    -
      plugin: get
      source: field_hide_time
  field_event_meeting_type:
    -
      plugin: get
      source: field_evente_meeting_type
  field_render_webinar_info:
    -
      plugin: get
      source: field_render_webinar_info
  field_event_redirect_url:
    -
      plugin: field_link
      source: field_event_redirect_url
  field_complimentary_tickets_code:
    -
      plugin: get
      source: field_complimentary_tickets_cod
  field_comp_tickets_code_label:
    -
      plugin: get
      source: field_complimentary_tickets_code
  field_discounted_tickets_code:
    -
      plugin: get
      source: field_discounted_tickets_code
  field_discounted_tickets_code_bu:
    -
      plugin: get
      source: field_discounted_tickets_code_bu
  field_event_updated_date:
    -
      plugin: sub_process
      source: field_event_updated_date
      process:
        value:
          plugin: format_date
          from_format: U
          to_format: U
          source: value
  field_event_timezone:
    -
      plugin: get
      source: field_event_timezone
destination:
  plugin: post_content_migrate
  default_bundle: event
migration_dependencies:
  required:
    - upgrade_d7_user
    - upgrade_d7_node_type
  optional:
    - upgrade_d7_field_instance
    - upgrade_d7_comment_field_instance
