You are here

protected function MigrateTestBase::executeMigrations in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/migrate/src/Tests/MigrateTestBase.php \Drupal\migrate\Tests\MigrateTestBase::executeMigrations()

Executes a set of migrations in dependency order.

Parameters

string[] $ids: Array of migration IDs, in any order.

50 calls to MigrateTestBase::executeMigrations()
EntityContentBaseTest::setUp in core/modules/migrate_drupal/src/Tests/d6/EntityContentBaseTest.php
Performs setup tasks before each individual test method is run.
MigrateAggregatorItemTest::setUp in core/modules/aggregator/src/Tests/Migrate/d6/MigrateAggregatorItemTest.php
Performs setup tasks before each individual test method is run.
MigrateBlockContentBodyFieldTest::setUp in core/modules/block_content/src/Tests/Migrate/MigrateBlockContentBodyFieldTest.php
Performs setup tasks before each individual test method is run.
MigrateBlockContentTest::setUp in core/modules/block_content/src/Tests/Migrate/d6/MigrateBlockContentTest.php
Performs setup tasks before each individual test method is run.
MigrateBlockTest::setUp in core/modules/block/src/Tests/Migrate/d6/MigrateBlockTest.php
Performs setup tasks before each individual test method is run.

... See full list

File

core/modules/migrate/src/Tests/MigrateTestBase.php, line 170
Contains \Drupal\migrate\Tests\MigrateTestBase.

Class

MigrateTestBase
Base class for migration tests.

Namespace

Drupal\migrate\Tests

Code

protected function executeMigrations(array $ids) {
  $migrations = Migration::loadMultiple($ids);
  array_walk($migrations, [
    $this,
    'executeMigration',
  ]);
}