function MigrateBuildDependencyInterface::buildDependencyMigration

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

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