function NullIdMap::getRowByDestination

Retrieves a row by the destination identifiers.

Parameters

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

Return value

array The row(s) of data or an empty array when there is no matching map row.

Overrides MigrateIdMapInterface::getRowByDestination

File

core/modules/migrate/src/Plugin/migrate/id_map/NullIdMap.php, line 37

Class

NullIdMap
Defines the null ID map implementation.

Namespace

Drupal\migrate\Plugin\migrate\id_map

Code

public function getRowByDestination(array $destination_id_values) {
  return [];
}

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