Add the Authors migration

This commit is contained in:
David Valdez 2019-08-05 19:56:51 -05:00
parent 6e68f54700
commit 927a9d0351
2 changed files with 90 additions and 0 deletions

View file

@ -0,0 +1,27 @@
langcode: en
status: true
dependencies: { }
id: upgrade_d7_node_story_author
class: Drupal\migrate\Plugin\Migration
field_plugin_method: alterFieldInstanceMigration
cck_plugin_method: null
migration_tags:
- 'Drupal 7'
- Content
migration_group: migrate_drupal_7_geo
label: 'Authors (Story authors)'
source:
constants:
user_id: 1
author_status: 1
plugin: geod7_author
process:
title: field_author_value
uid: constants/user_id
status: constants/author_status
destination:
plugin: 'entity:node'
default_bundle: people
migration_dependencies:
required: { }
optional: { }