uuid: eaf7a32c-b6c1-4999-9fd0-a68b0f748b99
langcode: en
status: true
dependencies: {  }
id: upgrade_d7_node_nar_organic_groups_to_minisite
class: Drupal\node\Plugin\migrate\D7NodeTranslation
field_plugin_method: null
cck_plugin_method: null
migration_tags:
  - 'Drupal 7'
  - Content
migration_group: drupal_7_groups_and_group_nodes
label: 'Node Subsite to Minisite'
source:
  plugin: d7_node_to_group
  node_type: nar_organic_groups
  custom_domain: true
process:
  langcode:
    -
      plugin: default_value
      source: language
      default_value: und
  label:
    -
      plugin: get
      source: title
  uid:
    -
      plugin: get
      source: node_uid
  created:
    -
      plugin: get
      source: created
  changed:
    -
      plugin: get
      source: timestamp
  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_nar_organic_groups/0/status:
    -
      plugin: get
      source: comment
  field_minisite_domain:
    -
      plugin: get
      source: domain
  field_content_strategist:
    -
      plugin: field_tid_to_target_id
      source: field_editor_term
  field_url_path:
    -
      plugin: field_tid_to_target_id
      source: field_sitearea
  field_grouping_vocabulary_label:
    -
      plugin: get
      source: field_grouping_vocabulary_label
  field_grouping_vocabulary:
    -
      plugin: field_get_vocab_name_by_id
      source: field_grouping_vocabulary
  field_header_title_color:
    -
      plugin: field_color
      source: field_header_title_color2
  field_header_background_color:
    -
      plugin: field_color
      source: field_header_background_color2
  field_header_background_image:
    -
      plugin: get
      source: field_header_background_image
  field_header_hide_bg_gradient:
    -
      plugin: get
      source: field_header_hide_background_grd
  field_header_background_image_m:
    -
      plugin: get
      source: field_header_background_image_m
  field_header_tagline:
    -
      plugin: get
      source: field_sub_head
  field_header_logo:
    -
      plugin: get
      source: field_header_logo
  field_header_logo_m:
    -
      plugin: get
      source: field_header_logo_mobile
  field_footer_logo:
    -
      plugin: get
      source: field_footer_logo
  field_slideshow_logo:
    -
      plugin: get
      source: field_slideshow_logo
  field_hide_global_navigation:
    -
      plugin: get
      source: field_hide_global_navigation
  field_hide_group_content_nav:
    -
      plugin: get
      source: field_hide_group_c_navigation
  field_hide_global_videos_section:
    -
      plugin: get
      source: field_hide_global_videos_section
  field_minisite_not_found:
    -
      plugin: get
      source: field_subsite_not_found_page
  field_minisite_access_denied:
    -
      plugin: get
      source: field_subsite_access_denied_page
  field_bottom_strip:
    -
      plugin: field_value_to_target_id
      source: field_below_paragraph
  field_enable_authors_on_content:
    -
      plugin: get
      source: field_enable_authors_on_content
  field_enable_comments_on_content:
    -
      plugin: get
      source: field_enable_comments_on_content
  field_exclude_automated_lists:
    -
      plugin: get
      source: field_exclude_from_boxes2
  field_exclude_content_references:
    -
      plugin: get
      source: field_exclude_from_boxes3
  field_exclude_external_search:
    -
      plugin: get
      source: field_exclude_from_ext_search
  field_exclude_internal_search:
    -
      plugin: get
      source: field_exclude_from_boxes
  field_sidebar_frontpage:
    -
      plugin: field_value_to_target_id
      source: field_sidebar_boxes_type
  field_group:
    -
      plugin: get
      source: group_group
  field_social_links:
    -
      plugin: get
      source: group_group
  field_hide_branded_header:
    -
      plugin: get
      source: field_hide_branded_header
  field_hide_share_widget:
    -
      plugin: get
      source: field_hide_share_widget
  field_hide_sidebar_ad_block:
    -
      plugin: get
      source: field_hide_global_ad
  field_listing_header:
    -
      plugin: get
      source: field_listing_header
  field_hide_group_content_list:
    -
      plugin: get
      source: field_hide_group_content_list
  field_minisite_background_color:
    -
      plugin: field_color
      source: field_subsite_background_color2
  field_theme:
    -
      plugin: field_theme
      source: field_theme
  field_use_old_black_footer:
    -
      plugin: get
      source: field_use_old_black_footer
  field_rss_link:
    -
      plugin: field_link
      source: field_rss_link
  field_move_subscribe_to_header:
    -
      plugin: get
      source: field_move_subscribe_to_header
  field_sidebar:
    -
      plugin: field_value_to_target_id
      source: field_sidebar_subsitewide
  field_show_latest_box:
    -
      plugin: get
      source: field_show_latest_box
  field_who_can_see_this:
    -
      plugin: get
      source: field_view_permissions
  field_disqus_shortname:
    -
      plugin: get
      source: field_disqus_shortname
  field_group_vocabulary:
    -
      plugin: field_og_vocab
      source: nid
  field_head_code:
    -
      plugin: d7_body_field_translate
      source: field_head_code
  field_hero_ad_javascript_snippet:
    -
      plugin: get
      source: field_hero_ad_javascript_snippet
  path/pathauto:
    plugin: default_value
    default_value: 0
destination:
  plugin: group_content_migrate
  default_bundle: minisite
migration_dependencies:
  required: {  }
  optional: {  }
