Problem/Motivation
We need to support migration of several different types of legacy reference fields to D8:
- Node and user reference, for both D6 and D7
- D7 taxonomy term reference fields
- D7 entity reference fields
Proposed resolution
Create a base class for migrate field plugins that handle all reference-type fields, since they tend to be more similar than they are different. Implement the node and user reference migrations for Drupal 6.
Remaining tasks
Any necessary documentation changes?
User interface changes
None.
API changes
Deprecates \Drupal\migrate_drupal\Plugin\migrate\field\NodeReference.
New @MigrateField
plugins: \Drupal\migrate_drupal\Plugin\migrate\field\d6\NodeReference
and \Drupal\migrate_drupal\Plugin\migrate\field\d6\UserReference
.
Release notes snippet
TBD