MigrateBuildDependencyInterface.php 611 B

123456789101112131415161718192021
  1. <?php
  2. namespace Drupal\migrate;
  3. interface MigrateBuildDependencyInterface {
  4. /**
  5. * Builds a dependency tree for the migrations and set their order.
  6. *
  7. * @param \Drupal\migrate\Plugin\MigrationInterface[] $migrations
  8. * Array of loaded migrations with their declared dependencies.
  9. * @param array $dynamic_ids
  10. * Keys are dynamic ids (for example node:*) values are a list of loaded
  11. * migration ids (for example node:page, node:article).
  12. *
  13. * @return array
  14. * An array of migrations.
  15. */
  16. public function buildDependencyMigration(array $migrations, array $dynamic_ids);
  17. }