function FileMigrationSetupTrait::getFileMigrationInfo

Same name in other branches
  1. 9 core/modules/file/tests/src/Kernel/Migrate/d7/FileMigrationSetupTrait.php \Drupal\Tests\file\Kernel\Migrate\d7\FileMigrationSetupTrait::getFileMigrationInfo()
  2. 10 core/modules/file/tests/src/Kernel/Migrate/d7/FileMigrationSetupTrait.php \Drupal\Tests\file\Kernel\Migrate\d7\FileMigrationSetupTrait::getFileMigrationInfo()
  3. 11.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'.

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.

... See full list

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\d7

Code

protected abstract function getFileMigrationInfo();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.