You are here

public function MigrateIdMapInterface::currentSource in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/migrate/src/Plugin/MigrateIdMapInterface.php \Drupal\migrate\Plugin\MigrateIdMapInterface::currentSource()
  2. 10 core/modules/migrate/src/Plugin/MigrateIdMapInterface.php \Drupal\migrate\Plugin\MigrateIdMapInterface::currentSource()

Looks up the source identifier(s) currently being iterated.

Return value

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

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

File

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

Class

MigrateIdMapInterface
Defines an interface for migrate ID mappings.

Namespace

Drupal\migrate\Plugin

Code

public function currentSource();