MigrationTest::$modules

Same name in this branch
  1. 10 core/modules/migrate/tests/src/Kernel/Plugin/MigrationTest.php \Drupal\Tests\migrate\Kernel\Plugin\MigrationTest::modules
Same name in other branches
  1. 9 core/modules/migrate/tests/src/Kernel/MigrationTest.php \Drupal\Tests\migrate\Kernel\MigrationTest::modules
  2. 9 core/modules/migrate/tests/src/Kernel/Plugin/MigrationTest.php \Drupal\Tests\migrate\Kernel\Plugin\MigrationTest::modules
  3. 8.9.x core/modules/migrate/tests/src/Kernel/MigrationTest.php \Drupal\Tests\migrate\Kernel\MigrationTest::modules
  4. 8.9.x core/modules/migrate/tests/src/Kernel/Plugin/MigrationTest.php \Drupal\Tests\migrate\Kernel\Plugin\MigrationTest::modules
  5. 11.x core/modules/migrate/tests/src/Kernel/MigrationTest.php \Drupal\Tests\migrate\Kernel\MigrationTest::modules
  6. 11.x core/modules/migrate/tests/src/Kernel/Plugin/MigrationTest.php \Drupal\Tests\migrate\Kernel\Plugin\MigrationTest::modules

Enable field because we are using one of its source plugins.

Type: array

Overrides KernelTestBase::$modules

File

core/modules/migrate/tests/src/Kernel/MigrationTest.php, line 23

Class

MigrationTest
Tests the migration plugin.

Namespace

Drupal\Tests\migrate\Kernel

Code

protected static $modules = [
    'migrate',
    'field',
];

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