function MigrateIdMapInterface::getRowBySource

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

Retrieves a row from the map table based on source identifier values.

Parameters

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

Return value

array The raw row data as an associative array.

2 methods override MigrateIdMapInterface::getRowBySource()
NullIdMap::getRowBySource in core/modules/migrate/src/Plugin/migrate/id_map/NullIdMap.php
Retrieves a row from the map table based on source identifier values.
Sql::getRowBySource in core/modules/migrate/src/Plugin/migrate/id_map/Sql.php
Retrieves a row from the map table based on source identifier values.

File

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

Class

MigrateIdMapInterface
Defines an interface for migrate ID mappings.

Namespace

Drupal\migrate\Plugin

Code

public function getRowBySource(array $source_id_values);

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