function MigrateExecutable::getIdMap

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

2 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.
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 383

Class

MigrateExecutable
Defines a migrate executable class.

Namespace

Drupal\migrate

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.