uuid: 65a2f7b5-4d6f-4c2e-8681-5ea69e69b90f
langcode: en
status: true
dependencies: {  }
id: upgrade_d7_node_complete_advpoll
class: Drupal\node\Plugin\migrate\D7NodeTranslation
field_plugin_method: null
cck_plugin_method: null
migration_tags:
  - 'Drupal 7'
  - Content
migration_group: migrate_drupal_7
label: 'Node complete (Advanced poll)'
source:
  plugin: d7_node_complete
  node_type: advpoll
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: timestamp
  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
  content_translation_source:
    -
      plugin: get
      source: source_langcode
  comment_node_advpoll/0/status:
    -
      plugin: get
      source: comment
  body:
    -
      plugin: get
      source: body
  advpoll_choice:
    -
      plugin: get
      source: advpoll_choice
  advpoll_max_choices:
    -
      plugin: get
      source: advpoll_max_choices
  advpoll_dates:
    -
      plugin: sub_process
      source: advpoll_dates
      process:
        value:
          plugin: format_date
          from_format: 'Y-m-d H:i:s'
          to_format: Y-m-d
          source: value
  advpoll_closed:
    -
      plugin: get
      source: advpoll_closed
  advpoll_options:
    -
      plugin: get
      source: advpoll_options
  advpoll_mode:
    -
      plugin: get
      source: advpoll_mode
  advpoll_cookie_duration:
    -
      plugin: get
      source: advpoll_cookie_duration
  advpoll_results:
    -
      plugin: get
      source: advpoll_results
  advpoll_behavior:
    -
      plugin: get
      source: advpoll_behavior
  field_metatag:
    -
      plugin: d7_metatag_entities
      source: pseudo_metatag_entities
destination:
  plugin: 'entity_complete:node'
  translations: true
  default_bundle: advpoll
migration_dependencies:
  required:
    - upgrade_d7_user
    - upgrade_d7_node_type
  optional:
    - upgrade_d7_field_instance
    - upgrade_d7_comment_field_instance
