Given a source that has a field with the corresponding ID which outputs the id in the field
special like the field
nid gives back a node id.
I want to map it to a taxonomy term that is already existing on the new site and not migrated.
This is the process part of my custom yml file:
process: nid: nid vid: vid # there were some more fields here that I left out. # hardcode destination node type as publication type: plugin: default_value default_value: publication # custom fields field_special: plugin: static_map source: special map: 1: 1 2: 2 3: 3
I have a
field_special as taxonomy term reference field in the node I want to migrate to.
How can I map the source field to be used in the destination field which is a taxonomy term reference field?
I'm using Drupal 8.1.2 with migrate_plus migrate_tools migrate_drupal enabled.