function MigrateFileGetIdsTest::getFileMigrationInfo

Same name in other branches
  1. 9 core/modules/file/tests/src/Kernel/Migrate/d7/MigrateFileGetIdsTest.php \Drupal\Tests\file\Kernel\Migrate\d7\MigrateFileGetIdsTest::getFileMigrationInfo()
  2. 10 core/modules/file/tests/src/Kernel/Migrate/d7/MigrateFileGetIdsTest.php \Drupal\Tests\file\Kernel\Migrate\d7\MigrateFileGetIdsTest::getFileMigrationInfo()

Overrides MigrateFileTest::getFileMigrationInfo

File

core/modules/file/tests/src/Kernel/Migrate/d7/MigrateFileGetIdsTest.php, line 22

Class

MigrateFileGetIdsTest
Tests the migration of used files.

Namespace

Drupal\Tests\file\Kernel\Migrate\d7

Code

protected function getFileMigrationInfo() : array {
    $migration_info = parent::getFileMigrationInfo();
    $migration_info['plugin_id'] = 'd7_file_used';
    return $migration_info;
}

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