protected function FollowUpMigrationsTest::getFileMigrationInfo in Drupal 10
Same name and namespace in other branches
- 8 core/modules/migrate_drupal/tests/src/Kernel/d7/FollowUpMigrationsTest.php \Drupal\Tests\migrate_drupal\Kernel\d7\FollowUpMigrationsTest::getFileMigrationInfo()
- 9 core/modules/migrate_drupal/tests/src/Kernel/d7/FollowUpMigrationsTest.php \Drupal\Tests\migrate_drupal\Kernel\d7\FollowUpMigrationsTest::getFileMigrationInfo()
Returns information about the file to be migrated.
Return value
array Array with keys 'path', 'size', 'base_path', and 'plugin_id'.
Overrides FileMigrationSetupTrait::getFileMigrationInfo
File
- core/
modules/ migrate_drupal/ tests/ src/ Kernel/ d7/ FollowUpMigrationsTest.php, line 59
Class
- FollowUpMigrationsTest
- Tests follow-up migrations.
Namespace
Drupal\Tests\migrate_drupal\Kernel\d7Code
protected function getFileMigrationInfo() {
return [
'path' => 'public://sites/default/files/cube.jpeg',
'size' => '3620',
'base_path' => 'public://',
'plugin_id' => 'd7_file',
];
}