I am migrating a Drupal 6 site to Drupal 8. On the Drupal 6 site I have a content type called book_page but would like it be called faq on the new site.
I set the default_bundle
to faq in my yml file but it still migrates as book_page.
Here is my yml file:
uuid: a67dbd6f-416c-44c0-9698-05ec3bb3c5a9
langcode: en
status: true
dependencies: { }
id: upgrade_d6_node_book_page
migration_tags:
- 'Drupal 6'
migration_group: d6_migrate_group
label: 'Nodes (book_page)'
source:
plugin: d6_node
node_type: book_page
process:
nid: tnid
vid: vid
langcode:
plugin: default_value
source: language
default_value: und
title: title
uid: node_uid
status: status
created: created
changed: changed
promote: promote
sticky: sticky
body/format:
plugin: migration
migration: upgrade_d6_filter_format
source: format
body/value: body
body/summary: teaser
revision_uid: revision_uid
revision_log: log
revision_timestamp: timestamp
field_image:
plugin: d6_cck_file
source: field_image
field_upload_files:
plugin: d6_cck_file
source: field_upload_files
destination:
plugin: 'entity:node'
default_bundle: faq
migration_dependencies:
required:
- upgrade_d6_user
- upgrade_d6_node_type
- upgrade_d6_node_settings
- upgrade_d6_filter_format
optional:
- upgrade_d6_field_instance_widget_settings
- upgrade_d6_field_formatter_settings
- upgrade_d6_upload_field_instance
Anyone have an idea what I am doing wrong?
Update:
I have also tried adding the following under process under each of my node yml files?:
type:
plugin: default_value
value: faq
I wonder if the All node types are created in ....node_type.yml?