Allow reference fields that circularly referenced to be imported.
5 unresolved threads
Compare changes
+ 155
− 31
@@ -4,7 +4,10 @@ namespace Drupal\default_content;
@@ -274,42 +277,63 @@ class Importer implements ImporterInterface {
Adds a new method that uses the already existing 'graph' to determine which entities were saved with references to content that had not been created yet. That is the purpose of the loop, the first is to create all like normal, then go back over updating any that have references that could not be fulfilled.
@@ -416,4 +440,104 @@ class Importer implements ImporterInterface {
The majority of this block is as is, just formatting after putting a loop around this code.