protected function buildDiscoveredDestinationsBySource($version, array
$migrations, array
$source_system_data) { $discovered_upgrade_paths =
[];
$table_data =
[];
foreach ($migrations as $migration) { $migration_id =
$migration->
getPluginId();
$source_module =
$migration->
getSourcePlugin()->
getSourceModule();
if (!
$source_module) { $this->
messenger() ->
addError($this->
t('Source module not found for @migration_id.',
['@migration_id' =>
$migration_id]));
} $destination_module =
$migration->
getDestinationPlugin() ->
getDestinationModule();
if (!
$destination_module) { $this->
messenger() ->
addError($this->
t('Destination module not found for @migration_id.',
['@migration_id' =>
$migration_id]));
}