function MigrateIdMapInterface::currentDestination

Same name in other branches
  1. 9 core/modules/migrate/src/Plugin/MigrateIdMapInterface.php \Drupal\migrate\Plugin\MigrateIdMapInterface::currentDestination()
  2. 8.9.x core/modules/migrate/src/Plugin/MigrateIdMapInterface.php \Drupal\migrate\Plugin\MigrateIdMapInterface::currentDestination()
  3. 10 core/modules/migrate/src/Plugin/MigrateIdMapInterface.php \Drupal\migrate\Plugin\MigrateIdMapInterface::currentDestination()

Looks up the destination identifier currently being iterated.

Return value

array The destination identifier values of the record, or NULL on failure.

2 methods override MigrateIdMapInterface::currentDestination()
NullIdMap::currentDestination in core/modules/migrate/src/Plugin/migrate/id_map/NullIdMap.php
Looks up the destination identifier currently being iterated.
Sql::currentDestination in core/modules/migrate/src/Plugin/migrate/id_map/Sql.php
Looks up the destination identifier currently being iterated.

File

core/modules/migrate/src/Plugin/MigrateIdMapInterface.php, line 271

Class

MigrateIdMapInterface
Defines an interface for migrate ID mappings.

Namespace

Drupal\migrate\Plugin

Code

public function currentDestination();

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