Update core 8.3.0

This commit is contained in:
Rob Davies 2017-04-13 15:53:35 +01:00
parent da7a7918f8
commit cd7a898e66
6144 changed files with 132297 additions and 87747 deletions

View file

@ -8,7 +8,10 @@ source:
process:
# If you are using this file to build a custom migration consider removing
# the nid and vid fields to allow incremental migrations.
nid: nid
# In D7, nodes always have a tnid, but it's zero for untranslated nodes.
# We normalize it to equal the nid in that case.
# @see \Drupal\node\Plugin\migrate\source\d7\Node::prepareRow().
nid: tnid
vid: vid
langcode:
plugin: default_value

View file

@ -0,0 +1,42 @@
id: d7_node_translation
label: Node translations
migration_tags:
- Drupal 7
- translation
deriver: Drupal\node\Plugin\migrate\D7NodeDeriver
source:
plugin: d7_node
translations: true
process:
# If you are using this file to build a custom migration consider removing
# the nid field to allow incremental migrations.
nid: tnid
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
content_translation_source: source_langcode
destination:
plugin: entity:node
translations: true
content_translation_update_definitions:
- node
migration_dependencies:
required:
- d7_user
- d7_node_type
- language
optional:
- d7_field_instance
provider: migrate_drupal