interface MigrateBuildDependencyInterface (View source)

Methods

array
buildDependencyMigration(array $migrations, array $dynamic_ids)

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

Details

array buildDependencyMigration(array $migrations, array $dynamic_ids)

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

Parameters

array $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.