interface MigrateBuildDependencyInterface

Same name in other branches
  1. 9 core/modules/migrate/src/MigrateBuildDependencyInterface.php \Drupal\migrate\MigrateBuildDependencyInterface
  2. 8.9.x core/modules/migrate/src/MigrateBuildDependencyInterface.php \Drupal\migrate\MigrateBuildDependencyInterface
  3. 11.x core/modules/migrate/src/MigrateBuildDependencyInterface.php \Drupal\migrate\MigrateBuildDependencyInterface

Hierarchy

Expanded class hierarchy of MigrateBuildDependencyInterface

All classes that implement MigrateBuildDependencyInterface

1 file declares its use of MigrateBuildDependencyInterface
MigrationPluginManager.php in core/modules/migrate/src/Plugin/MigrationPluginManager.php

File

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

Namespace

Drupal\migrate
View source
interface MigrateBuildDependencyInterface {
    
    /**
     * Builds a dependency tree for the migrations and set their order.
     *
     * @param \Drupal\migrate\Plugin\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

Title Sort descending Modifiers Object type Summary
MigrateBuildDependencyInterface::buildDependencyMigration public function Builds a dependency tree for the migrations and set their order.

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