function MigrateNodeRevisionTest::getFileMigrationInfo
Same name in other branches
- 9 core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeRevisionTest.php \Drupal\Tests\node\Kernel\Migrate\d7\MigrateNodeRevisionTest::getFileMigrationInfo()
- 8.9.x core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeRevisionTest.php \Drupal\Tests\node\Kernel\Migrate\d7\MigrateNodeRevisionTest::getFileMigrationInfo()
- 11.x core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeRevisionTest.php \Drupal\Tests\node\Kernel\Migrate\d7\MigrateNodeRevisionTest::getFileMigrationInfo()
Overrides FileMigrationSetupTrait::getFileMigrationInfo
File
-
core/
modules/ node/ tests/ src/ Kernel/ Migrate/ d7/ MigrateNodeRevisionTest.php, line 79
Class
- MigrateNodeRevisionTest
- Tests node revision migrations.
Namespace
Drupal\Tests\node\Kernel\Migrate\d7Code
protected function getFileMigrationInfo() {
return [
'path' => 'public://sites/default/files/cube.jpeg',
'size' => 3620,
'base_path' => 'public://',
'plugin_id' => 'd7_file',
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.