function FollowUpMigrationsTest::getFileMigrationInfo

Same name in other branches
  1. 9 core/modules/migrate_drupal/tests/src/Kernel/d7/FollowUpMigrationsTest.php \Drupal\Tests\migrate_drupal\Kernel\d7\FollowUpMigrationsTest::getFileMigrationInfo()
  2. 8.9.x core/modules/migrate_drupal/tests/src/Kernel/d7/FollowUpMigrationsTest.php \Drupal\Tests\migrate_drupal\Kernel\d7\FollowUpMigrationsTest::getFileMigrationInfo()
  3. 10 core/modules/migrate_drupal/tests/src/Kernel/d7/FollowUpMigrationsTest.php \Drupal\Tests\migrate_drupal\Kernel\d7\FollowUpMigrationsTest::getFileMigrationInfo()

Overrides FileMigrationSetupTrait::getFileMigrationInfo

File

core/modules/migrate_drupal/tests/src/Kernel/d7/FollowUpMigrationsTest.php, line 61

Class

FollowUpMigrationsTest
Tests follow-up migrations.

Namespace

Drupal\Tests\migrate_drupal\Kernel\d7

Code

protected function getFileMigrationInfo() : array {
    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.