My D8 site has two entities:
resource entity has a
field_authors entity reference field with unlimited cardinality.
My source data is coming from 3 tables
- resource_author (which is your standard relationship table: a resource id and an author id)
I've already migrated the authors and am working on getting the
field_authors set up but hitting a mental roadblock. For all the one-to-one relationships I've dealt with so far I could simply use the
migration_lookup plugin. I think I need to be investigating the
sub_process plugin but I'm just not sure. What I'm thinking I need to do is get the relationships based on the current row, and then use those relationships in a sub process that connects to a migration lookup.
How do I accomplish this?