function MigrateExecutable::currentSourceIds

Same name in other branches
  1. 9 core/modules/migrate/src/MigrateExecutable.php \Drupal\migrate\MigrateExecutable::currentSourceIds()
  2. 10 core/modules/migrate/src/MigrateExecutable.php \Drupal\migrate\MigrateExecutable::currentSourceIds()
  3. 11.x core/modules/migrate/src/MigrateExecutable.php \Drupal\migrate\MigrateExecutable::currentSourceIds()

Fetches the key array for the current source record.

Return value

array The current source IDs.

File

core/modules/migrate/src/MigrateExecutable.php, line 430

Class

MigrateExecutable
Defines a migrate executable class.

Namespace

Drupal\migrate

Code

protected function currentSourceIds() {
    return $this->getSource()
        ->getCurrentIds();
}

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