function MigrationState::getUpgradeStates
Same name in other branches
- 9 core/modules/migrate_drupal/src/MigrationState.php \Drupal\migrate_drupal\MigrationState::getUpgradeStates()
- 8.9.x core/modules/migrate_drupal/src/MigrationState.php \Drupal\migrate_drupal\MigrationState::getUpgradeStates()
- 10 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);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.