Security update for Core, with self-updated composer
[yaffs-website] / web / core / modules / migrate_drupal / src / Plugin / migrate / field / NodeReference.php
index 2f6f0992b385f4270665e96198a1a9170988ff11..062f0f1d97b1d36076e492cd6a1c2d6796685189 100644 (file)
@@ -15,19 +15,12 @@ use Drupal\migrate\Plugin\MigrationInterface;
  */
 class NodeReference extends FieldPluginBase {
 
-  /**
-   * {@inheritdoc}
-   */
-  public function getFieldFormatterMap() {
-    return [];
-  }
-
   /**
    * {@inheritdoc}
    */
   public function processFieldValues(MigrationInterface $migration, $field_name, $data) {
     $process = [
-      'plugin' => 'iterator',
+      'plugin' => 'sub_process',
       'source' => $field_name,
       'process' => [
         'target_id' => [