Update to Drupal 8.0.0-beta15. For more information, see: https://www.drupal.org/node/2563023

This commit is contained in:
Pantheon Automation 2015-09-04 13:20:09 -07:00 committed by Greg Anderson
parent 2720a9ec4b
commit f3791f1da3
1898 changed files with 54300 additions and 11481 deletions

View file

@ -2,6 +2,8 @@ id: d6_node
label: Drupal 6 nodes
migration_tags:
- Drupal 6
builder:
plugin: d6_node
source:
plugin: d6_node
process:
@ -14,13 +16,6 @@ process:
default_value: "und"
title: title
uid: node_uid
# Core migrations are designed for replacing the upgrade path and therefore
# all node and user ids are preserved. For that reason we do not need to look-up
# the user id for the node. If you're writing a custom migration, user ids will
# vary from the source site and a lookup as shown below will be required.
# plugin: migration
# migration: d6_user
# source: node_uid
status: status
created: created
changed: changed
@ -53,3 +48,4 @@ migration_dependencies:
optional:
- d6_field_instance_widget_settings
- d6_field_formatter_settings
- d6_upload_field_instance

View file

@ -2,6 +2,8 @@ id: d6_node_revision
label: Drupal 6 node revisions
migration_tags:
- Drupal 6
builder:
plugin: d6_node
source:
plugin: d6_node_revision
process:
@ -39,4 +41,4 @@ destination:
plugin: entity_revision:node
migration_dependencies:
required:
- d6_node
- d6_node:*

View file

@ -7,7 +7,6 @@ source:
constants:
targetEntityType: node
status: true
process:
mode:
plugin: static_map

View file

@ -0,0 +1,32 @@
id: d7_node
label: Drupal 7 nodes
migration_tags:
- Drupal 7
builder:
plugin: d7_node
source:
plugin: d7_node
process:
nid: nid
vid: vid
type: type
langcode:
plugin: default_value
source: language
default_value: "und"
title: title
uid: node_uid
status: status
created: created
changed: changed
promote: promote
sticky: sticky
revision_uid: revision_uid
revision_log: log
revision_timestamp: timestamp
destination:
plugin: entity:node
migration_dependencies:
required:
- d7_user
- d7_node_type

View file

@ -0,0 +1,31 @@
id: d7_node_revision
label: Drupal 7 node revisions
migration_tags:
- Drupal 7
builder:
plugin: d7_node
source:
plugin: d7_node_revision
process:
nid: nid
vid: vid
type: type
langcode:
plugin: default_value
source: language
default_value: "und"
title: title
uid: node_uid
status: status
created: created
changed: changed
promote: promote
sticky: sticky
revision_uid: revision_uid
revision_log: log
revision_timestamp: timestamp
destination:
plugin: entity_revision:node
migration_dependencies:
required:
- d7_node:*

View file

@ -0,0 +1,13 @@
id: d7_node_settings
label: Drupal 7 node configuration
migration_tags:
- Drupal 7
source:
plugin: variable
variables:
- node_admin_theme
process:
use_admin_theme: node_admin_theme
destination:
plugin: config
config_name: node.settings

View file

@ -0,0 +1,19 @@
id: d7_node_title_label
label: Drupal 7 node title label
migration_tags:
- Drupal 7
source:
plugin: d7_node_type
constants:
entity_type: node
field_name: title
process:
entity_type: 'constants/entity_type'
bundle: type
field_name: 'constants/field_name'
label: title_label
destination:
plugin: entity:base_field_override
migration_dependencies:
required:
- d7_node_type

View file

@ -0,0 +1,21 @@
id: d7_node_type
label: Drupal 7 node type configuration
migration_tags:
- Drupal 7
source:
plugin: d7_node_type
constants:
preview: 1 # DRUPAL_OPTIONAL
process:
type: type
name: name
description: description
help: help
title_label: title_label
preview_mode: 'constants/preview'
display_submitted: display_submitted
new_revision: 'options/revision'
create_body: create_body
create_body_label: body_label
destination:
plugin: entity:node_type