Problem/Motivation
The migration system has no support for migrating node reference fields, with their settings and values, from Drupal 7 to Drupal 8.
The source module is https://www.drupal.org/project/references.
Proposed resolution
Add a field plugin to handle Drupal 7 node reference fields. Currently the patch also adds a field plugin to handle Drupal 7 user reference fields.
Add field plugins, migrate_drupal\Plugin\migrate\field\d7\NodeReference and migrate_drupal\Plugin\migrate\field\d7\NodeReference.
Update Kernel tests d7/MigrateNodeCompleteTest.php and d7/MigrateNodeRevisionTest.php, FieldDiscoveryTest.
Update Functional tests d7/MultilingualReviewPageTest.php, d7/NoMultilingualReviewPageTest.php, and d7/UpgradeTest.php.
Update fixture, add a node and user reference field to the test fixture (added to the article content type). Fixture still works via the D7 UI.
Update migrate_drupal migration state file.
Remaining tasks
Review- Reroll (Novice task)
- Commit the patch
- Jump into a ball pit and roll around happily
User interface changes
None.
API changes
None.
Data model changes
None.