You are here

protected function MigrateTestBase::prepareMigration in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/migrate/tests/src/Kernel/MigrateTestBase.php \Drupal\Tests\migrate\Kernel\MigrateTestBase::prepareMigration()
  2. 9 core/modules/migrate/tests/src/Kernel/MigrateTestBase.php \Drupal\Tests\migrate\Kernel\MigrateTestBase::prepareMigration()

Modify a migration's configuration before executing it.

Parameters

\Drupal\migrate\Plugin\MigrationInterface $migration: The migration to execute.

File

core/modules/migrate/tests/src/Kernel/MigrateTestBase.php, line 155

Class

MigrateTestBase
Creates abstract base class for migration tests.

Namespace

Drupal\Tests\migrate\Kernel

Code

protected function prepareMigration(MigrationInterface $migration) {

  // Default implementation for test classes not requiring modification.
}