Same name and namespace in other branches
  1. 8.9.x core/modules/migrate/src/Row.php \Drupal\migrate\Row::getSourceIdValues()
  2. 9 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));
}