You are here

public function Row::getSourceIdValues in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/migrate/src/Row.php \Drupal\migrate\Row::getSourceIdValues()

Retrieves the values of the source identifiers.

Return value

array An array containing the values of the source identifiers. Returns values in the same order as defined in $this->sourceIds.

File

core/modules/migrate/src/Row.php, line 119

Class

Row
Stores a row.

Namespace

Drupal\migrate

Code

public function getSourceIdValues() {
  return array_merge($this->sourceIds, array_intersect_key($this->source, $this->sourceIds));
}