abstract protected function FileMigrationSetupTrait::getFileMigrationInfo in Drupal 10
Same name and namespace in other branches
- 8 core/modules/file/tests/src/Kernel/Migrate/d7/FileMigrationSetupTrait.php \Drupal\Tests\file\Kernel\Migrate\d7\FileMigrationSetupTrait::getFileMigrationInfo()
- 9 core/modules/file/tests/src/Kernel/Migrate/d7/FileMigrationSetupTrait.php \Drupal\Tests\file\Kernel\Migrate\d7\FileMigrationSetupTrait::getFileMigrationInfo()
Returns information about the file to be migrated.
Return value
array Array with keys 'path', 'size', 'base_path', and 'plugin_id'.
1 call to FileMigrationSetupTrait::getFileMigrationInfo()
- FileMigrationSetupTrait::fileMigrationSetup in core/
modules/ file/ tests/ src/ Kernel/ Migrate/ d7/ FileMigrationSetupTrait.php - Prepare the file migration for running.
6 methods override FileMigrationSetupTrait::getFileMigrationInfo()
- FollowUpMigrationsTest::getFileMigrationInfo in core/
modules/ migrate_drupal/ tests/ src/ Kernel/ d7/ FollowUpMigrationsTest.php - Returns information about the file to be migrated.
- MigrateFileTest::getFileMigrationInfo in core/
modules/ file/ tests/ src/ Kernel/ Migrate/ d7/ MigrateFileTest.php - Returns information about the file to be migrated.
- MigrateNodeCompleteTest::getFileMigrationInfo in core/
modules/ node/ tests/ src/ Kernel/ Migrate/ d7/ MigrateNodeCompleteTest.php - Returns information about the file to be migrated.
- MigrateNodeRevisionTest::getFileMigrationInfo in core/
modules/ node/ tests/ src/ Kernel/ Migrate/ d7/ MigrateNodeRevisionTest.php - Returns information about the file to be migrated.
- MigrateNodeTest::getFileMigrationInfo in core/
modules/ node/ tests/ src/ Kernel/ Migrate/ d7/ MigrateNodeTest.php - Returns information about the file to be migrated.
File
- core/
modules/ file/ tests/ src/ Kernel/ Migrate/ d7/ FileMigrationSetupTrait.php, line 19
Class
- FileMigrationSetupTrait
- A trait to setup the file migration.
Namespace
Drupal\Tests\file\Kernel\Migrate\d7Code
protected abstract function getFileMigrationInfo();