You are here

public function MigrateBuildDependencyInterface::buildDependencyMigration in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/migrate/src/MigrateBuildDependencyInterface.php \Drupal\migrate\MigrateBuildDependencyInterface::buildDependencyMigration()

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

Parameters

\Drupal\migrate\Entity\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()
MigrationStorage::buildDependencyMigration in core/modules/migrate/src/MigrationStorage.php
Builds a dependency tree for the migrations and set their order.

File

core/modules/migrate/src/MigrateBuildDependencyInterface.php, line 24
Contains \Drupal\migrate\MigrateBuildDependencyInterface.

Class

MigrateBuildDependencyInterface

Namespace

Drupal\migrate

Code

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