You are here

public function MigrateIdMapInterface::lookupSourceID in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/migrate/src/Plugin/MigrateIdMapInterface.php \Drupal\migrate\Plugin\MigrateIdMapInterface::lookupSourceID()

Looks up the source identifier.

Given a (possibly multi-field) destination identifier value, return the (possibly multi-field) source identifier value mapped to it.

Parameters

array $destination_id_values: The destination identifier keyed values of the record, e.g. ['nid' => 5].

Return value

array The source identifier keyed values of the record, e.g. ['nid' => 5], or an empty array on failure.

1 method overrides MigrateIdMapInterface::lookupSourceID()
Sql::lookupSourceID in core/modules/migrate/src/Plugin/migrate/id_map/Sql.php
Looks up the source identifier.

File

core/modules/migrate/src/Plugin/MigrateIdMapInterface.php, line 202
Contains \Drupal\migrate\Plugin\MigrateIdMapInterface.

Class

MigrateIdMapInterface
Defines an interface for migrate ID mappings.

Namespace

Drupal\migrate\Plugin

Code

public function lookupSourceID(array $destination_id_values);