From 77c6286dbb10b5dd3242e793c0e93acac1f0e555 Mon Sep 17 00:00:00 2001 From: David Valdez Date: Mon, 29 Oct 2018 14:02:01 -0600 Subject: [PATCH] The field_authors is filled with the people nodes. If the node was created by Ben then the field_authors field will have the Ben people node. --- .../custom/agaric_migration/migrations/agaric_blog.yml | 5 +++++ .../custom/agaric_migration/migrations/agaric_people.yml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/web/modules/custom/agaric_migration/migrations/agaric_blog.yml b/web/modules/custom/agaric_migration/migrations/agaric_blog.yml index 74524da..41f5bf4 100644 --- a/web/modules/custom/agaric_migration/migrations/agaric_blog.yml +++ b/web/modules/custom/agaric_migration/migrations/agaric_blog.yml @@ -57,7 +57,12 @@ process: revision_uid: revision_uid revision_log: log revision_timestamp: timestamp + field_authors/target_id: + plugin: migration_lookup + source: node_uid + migration: agaric_people migration_dependencies: required: + - agaric_people - agaric_user - agaric_blog_paragraph diff --git a/web/modules/custom/agaric_migration/migrations/agaric_people.yml b/web/modules/custom/agaric_migration/migrations/agaric_people.yml index 16d383a..d43f306 100644 --- a/web/modules/custom/agaric_migration/migrations/agaric_people.yml +++ b/web/modules/custom/agaric_migration/migrations/agaric_people.yml @@ -17,7 +17,7 @@ process: #This field is empty. #field_summary: field_bio/0/summary paragraph_bio: - plugin: migration + plugin: migration_lookup migration: agaric_people_paragraph source: uid field_body_paragraph: