You are here

interface MigrateBuildDependencyInterface in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/modules/migrate/src/MigrateBuildDependencyInterface.php \Drupal\migrate\MigrateBuildDependencyInterface

Hierarchy

Expanded class hierarchy of MigrateBuildDependencyInterface

All classes that implement MigrateBuildDependencyInterface

File

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

Namespace

Drupal\migrate
View source
interface MigrateBuildDependencyInterface {

  /**
   * Builds a dependency tree for the migrations and set their order.
   *
   * @param \Drupal\migrate\Entity\MigrationInterface[] $migrations
   *   Array of loaded migrations with their declared dependencies.
   * @param 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 array
   *   An array of migrations.
   */
  public function buildDependencyMigration(array $migrations, array $dynamic_ids);

}

Members

Namesort descending Modifiers Type Description Overrides
MigrateBuildDependencyInterface::buildDependencyMigration public function Builds a dependency tree for the migrations and set their order. 1