function FileMigrationTestTrait::setUpMigratedFiles
Same name in other branches
- 9 core/modules/file/tests/src/Kernel/Migrate/d6/FileMigrationTestTrait.php \Drupal\Tests\file\Kernel\Migrate\d6\FileMigrationTestTrait::setUpMigratedFiles()
- 8.9.x core/modules/file/tests/src/Kernel/Migrate/d6/FileMigrationTestTrait.php \Drupal\Tests\file\Kernel\Migrate\d6\FileMigrationTestTrait::setUpMigratedFiles()
- 11.x core/modules/file/tests/src/Kernel/Migrate/d6/FileMigrationTestTrait.php \Drupal\Tests\file\Kernel\Migrate\d6\FileMigrationTestTrait::setUpMigratedFiles()
Setup and execute d6_file migration.
5 calls to FileMigrationTestTrait::setUpMigratedFiles()
- MigrateFileTest::setUp in core/
modules/ file/ tests/ src/ Kernel/ Migrate/ d6/ MigrateFileTest.php - MigrateImageTest::setUp in core/
modules/ image/ tests/ src/ Kernel/ Migrate/ d6/ MigrateImageTest.php - MigrateNodeCompleteTest::setUp in core/
modules/ node/ tests/ src/ Kernel/ Migrate/ d6/ MigrateNodeCompleteTest.php - MigrateNodeTest::setUp in core/
modules/ node/ tests/ src/ Kernel/ Migrate/ d6/ MigrateNodeTest.php - MigrateUserPictureD6FileTest::testUserPictures in core/
modules/ user/ tests/ src/ Kernel/ Migrate/ d6/ MigrateUserPictureD6FileTest.php - Tests the Drupal 6 user pictures to Drupal 8 migration.
File
-
core/
modules/ file/ tests/ src/ Kernel/ Migrate/ d6/ FileMigrationTestTrait.php, line 17
Class
- FileMigrationTestTrait
- Helper for setting up a file migration test.
Namespace
Drupal\Tests\file\Kernel\Migrate\d6Code
protected function setUpMigratedFiles() {
$this->installEntitySchema('file');
$this->installConfig([
'file',
]);
$this->executeMigration('d6_file');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.