function MigrateBuildDependencyInterface::buildDependencyMigration

Same name in other branches
  1. 9 core/modules/migrate/src/MigrateBuildDependencyInterface.php \Drupal\migrate\MigrateBuildDependencyInterface::buildDependencyMigration()
  2. 8.9.x core/modules/migrate/src/MigrateBuildDependencyInterface.php \Drupal\migrate\MigrateBuildDependencyInterface::buildDependencyMigration()
  3. 10 core/modules/migrate/src/MigrateBuildDependencyInterface.php \Drupal\migrate\MigrateBuildDependencyInterface::buildDependencyMigration()

Builds a dependency tree for the migrations and set their order.

Parameters

\Drupal\migrate\Plugin\MigrationInterface[] $migrations: Array of loaded migrations with their declared dependencies.

array $dynamic_ids: Keys are dynamic ids (for example node:*) values are a list of loaded migration ids (for example node:page, node:article).

Return value

array An array of migrations.

File

core/modules/migrate/src/MigrateBuildDependencyInterface.php, line 19

Class

MigrateBuildDependencyInterface

Namespace

Drupal\migrate

Code

public function buildDependencyMigration(array $migrations, array $dynamic_ids);

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