Skip to content

Commit

Permalink
Update existing events.
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Nov 27, 2024
1 parent 0a321a6 commit 0f41fa1
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 0f41fa1

Please sign in to comment.