You are here

protected function MigrateExecutable::getIdMap in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/migrate/src/MigrateExecutable.php \Drupal\migrate\MigrateExecutable::getIdMap()
  2. 9 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.

6 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.
MigrateExecutable::saveMessage in core/modules/migrate/src/MigrateExecutable.php
Passes messages through to the map class.
MigrateExecutable::__construct in core/modules/migrate/src/MigrateExecutable.php
Constructs a MigrateExecutable and verifies and sets the memory limit.
TestMigrateExecutable::getIdMap in core/modules/migrate/tests/src/Kernel/Plugin/LogTest.php
Get the ID map from the current migration.

... See full list

2 methods override MigrateExecutable::getIdMap()
TestMigrateExecutable::getIdMap in core/modules/migrate/tests/src/Kernel/Plugin/LogTest.php
Get the ID map from the current migration.
TestMigrateExecutable::getIdMap in core/modules/migrate/tests/src/Kernel/TestMigrateExecutable.php
Get the ID map from the current migration.

File

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

Class

MigrateExecutable
Defines a migrate executable class.

Namespace

Drupal\migrate

Code

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