function FileMigrationSetupTrait::getFileMigrationInfo
Same name and namespace in other branches
- 11.x core/modules/file/tests/src/Kernel/Migrate/d7/FileMigrationSetupTrait.php \Drupal\Tests\file\Kernel\Migrate\d7\FileMigrationSetupTrait::getFileMigrationInfo()
- 10 core/modules/file/tests/src/Kernel/Migrate/d7/FileMigrationSetupTrait.php \Drupal\Tests\file\Kernel\Migrate\d7\FileMigrationSetupTrait::getFileMigrationInfo()
- 8.9.x 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'.
3 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.
- MigratePrivateFileTest::getFileMigrationInfo in core/
modules/ file/ tests/ src/ Kernel/ Migrate/ d7/ MigratePrivateFileTest.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
abstract protected function getFileMigrationInfo();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.