protected function MigrateUpgradeDrushRunner::modifyId in Migrate Upgrade 8.2
Same name and namespace in other branches
- 8.3 src/MigrateUpgradeDrushRunner.php \Drupal\migrate_upgrade\MigrateUpgradeDrushRunner::modifyId()
Parameters
$id: The original core plugin ID.
Return value
string The ID modified to serve as a configuration entity ID.
3 calls to MigrateUpgradeDrushRunner::modifyId()
- MigrateUpgradeDrushRunner::export in src/
MigrateUpgradeDrushRunner.php - Export the configured migration plugins as configuration entities.
- MigrateUpgradeDrushRunner::substituteIds in src/
MigrateUpgradeDrushRunner.php - Rewrite any migration plugin IDs so they won't conflict with the core IDs.
- MigrateUpgradeDrushRunner::substituteMigrationIds in src/
MigrateUpgradeDrushRunner.php - Recursively substitute IDs for migration plugins.
File
- src/
MigrateUpgradeDrushRunner.php, line 259
Class
Namespace
Drupal\migrate_upgradeCode
protected function modifyId($id) {
return drush_get_option('migration-prefix', 'upgrade_') . str_replace(':', '_', $id);
}