public function MigrationState::getUpgradeStates in Drupal 10
Same name and namespace in other branches
- 8 core/modules/migrate_drupal/src/MigrationState.php \Drupal\migrate_drupal\MigrationState::getUpgradeStates()
- 9 core/modules/migrate_drupal/src/MigrationState.php \Drupal\migrate_drupal\MigrationState::getUpgradeStates()
Gets the upgrade states for all enabled source modules.
Parameters
string $version: The legacy drupal version.
array $source_system_data: The data from the source site system table.
array $migrations: An array of migrations.
Return value
array An associative array of data with keys of state, source modules and a value which is a comma separated list of destination modules.
File
- core/
modules/ migrate_drupal/ src/ MigrationState.php, line 243
Class
- MigrationState
- Determines the migrate state for all modules enabled on the source.
Namespace
Drupal\migrate_drupalCode
public function getUpgradeStates($version, array $source_system_data, array $migrations) {
return $this
->buildUpgradeState($version, $source_system_data, $migrations);
}