public function MigrateIdMapInterface::lookupDestinationId in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/modules/migrate/src/Plugin/MigrateIdMapInterface.php \Drupal\migrate\Plugin\MigrateIdMapInterface::lookupDestinationId()
Looks up the destination identifier corresponding to a source key.
Given a (possibly multi-field) source identifier value, return the (possibly multi-field) destination identifier value it is mapped to.
Parameters
array $source_id_values: The source identifier keyed values of the record, e.g. ['nid' => 5].
Return value
array The destination identifier values of the record, or NULL on failure.
1 method overrides MigrateIdMapInterface::lookupDestinationId()
- Sql::lookupDestinationId in core/
modules/ migrate/ src/ Plugin/ migrate/ id_map/ Sql.php - Looks up the destination identifier corresponding to a source key.
File
- core/
modules/ migrate/ src/ Plugin/ MigrateIdMapInterface.php, line 216 - Contains \Drupal\migrate\Plugin\MigrateIdMapInterface.
Class
- MigrateIdMapInterface
- Defines an interface for migrate ID mappings.
Namespace
Drupal\migrate\PluginCode
public function lookupDestinationId(array $source_id_values);