Mercurial > hg > cmmr2012-drupal-site
comparison core/modules/migrate/src/MigrateBuildDependencyInterface.php @ 0:c75dbcec494b
Initial commit from drush-created site
author | Chris Cannam |
---|---|
date | Thu, 05 Jul 2018 14:24:15 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:c75dbcec494b |
---|---|
1 <?php | |
2 | |
3 namespace Drupal\migrate; | |
4 | |
5 interface MigrateBuildDependencyInterface { | |
6 | |
7 /** | |
8 * Builds a dependency tree for the migrations and set their order. | |
9 * | |
10 * @param \Drupal\migrate\Plugin\MigrationInterface[] $migrations | |
11 * Array of loaded migrations with their declared dependencies. | |
12 * @param array $dynamic_ids | |
13 * Keys are dynamic ids (for example node:*) values are a list of loaded | |
14 * migration ids (for example node:page, node:article). | |
15 * | |
16 * @return array | |
17 * An array of migrations. | |
18 */ | |
19 public function buildDependencyMigration(array $migrations, array $dynamic_ids); | |
20 | |
21 } |