You are here

public function MigrateBuildDependencyInterface::buildDependencyMigration in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/migrate/src/MigrateBuildDependencyInterface.php \Drupal\migrate\MigrateBuildDependencyInterface::buildDependencyMigration()
  2. 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.

1 method overrides MigrateBuildDependencyInterface::buildDependencyMigration()
MigrationPluginManager::buildDependencyMigration in core/modules/migrate/src/Plugin/MigrationPluginManager.php
Builds a dependency tree for the migrations and set their order.

File

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

Class

MigrateBuildDependencyInterface

Namespace

Drupal\migrate

Code

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