From 0f41fa111e343cd4a5d4deda5f461432222e3b20 Mon Sep 17 00:00:00 2001 From: "jeff@ifactory.com" Date: Wed, 27 Nov 2024 08:39:56 -0500 Subject: [PATCH] Update existing events. --- .../modules/custom/ys_campus_group/ys_campus_group.module | 1 + 1 file changed, 1 insertion(+) diff --git a/web/profiles/custom/yalesites_profile/modules/custom/ys_campus_group/ys_campus_group.module b/web/profiles/custom/yalesites_profile/modules/custom/ys_campus_group/ys_campus_group.module index 6ab3366ab..78a735c38 100644 --- a/web/profiles/custom/yalesites_profile/modules/custom/ys_campus_group/ys_campus_group.module +++ b/web/profiles/custom/yalesites_profile/modules/custom/ys_campus_group/ys_campus_group.module @@ -30,6 +30,7 @@ function ys_campus_group_cron() { // Get the migration plugin (of type MigrationInterface) $migration_plugin = \Drupal::service('plugin.manager.migration')->createInstance($migration_id, ['migration_group' => $migration_group]); if ($migration_plugin instanceof MigrationInterface) { + $migration_plugin->getIdMap()->prepareUpdate(); // Create a MigrateExecutable instance to execute the migration. $migrate_executable = new MigrateExecutable($migration_plugin, new MigrateMessage()); try {