function Row::getSourceIdValues

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

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