public function MigrateIdMapInterface::getRowBySource in Drupal 10
Same name and namespace in other branches
- 8 core/modules/migrate/src/Plugin/MigrateIdMapInterface.php \Drupal\migrate\Plugin\MigrateIdMapInterface::getRowBySource()
- 9 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 207
Class
- MigrateIdMapInterface
- Defines an interface for migrate ID mappings.
Namespace
Drupal\migrate\PluginCode
public function getRowBySource(array $source_id_values);