You are here

protected function MigrateExecutable::getIdMap in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/migrate/src/MigrateExecutable.php \Drupal\migrate\MigrateExecutable::getIdMap()

Get the ID map from the current migration.

Return value

\Drupal\migrate\Plugin\MigrateIdMapInterface The ID map.

4 calls to MigrateExecutable::getIdMap()
MigrateExecutable::import in core/modules/migrate/src/MigrateExecutable.php
Performs an import operation - migrate items from source to destination.
MigrateExecutable::rollback in core/modules/migrate/src/MigrateExecutable.php
Performs a rollback operation - remove previously-imported items.
TestMigrateExecutable::getIdMap in core/modules/migrate/tests/src/Kernel/TestMigrateExecutable.php
Get the ID map from the current migration.
TestMigrateExecutable::getIdMap in core/modules/migrate/tests/src/Kernel/Plugin/LogTest.php
Get the ID map from the current migration.
2 methods override MigrateExecutable::getIdMap()
TestMigrateExecutable::getIdMap in core/modules/migrate/tests/src/Kernel/TestMigrateExecutable.php
Get the ID map from the current migration.
TestMigrateExecutable::getIdMap in core/modules/migrate/tests/src/Kernel/Plugin/LogTest.php
Get the ID map from the current migration.

File

core/modules/migrate/src/MigrateExecutable.php, line 360

Class

MigrateExecutable
Defines a migrate executable class.

Namespace

Drupal\migrate

Code

protected function getIdMap() {
  return $this->migration
    ->getIdMap();
}