function MigratePrivateFileTest::setUp

Same name in other branches
  1. 9 core/modules/file/tests/src/Kernel/Migrate/d7/MigratePrivateFileTest.php \Drupal\Tests\file\Kernel\Migrate\d7\MigratePrivateFileTest::setUp()
  2. 10 core/modules/file/tests/src/Kernel/Migrate/d7/MigratePrivateFileTest.php \Drupal\Tests\file\Kernel\Migrate\d7\MigratePrivateFileTest::setUp()
  3. 11.x core/modules/file/tests/src/Kernel/Migrate/d7/MigratePrivateFileTest.php \Drupal\Tests\file\Kernel\Migrate\d7\MigratePrivateFileTest::setUp()

Overrides MigrateDrupal7TestBase::setUp

File

core/modules/file/tests/src/Kernel/Migrate/d7/MigratePrivateFileTest.php, line 25

Class

MigratePrivateFileTest
Tests private files migration.

Namespace

Drupal\Tests\file\Kernel\Migrate\d7

Code

protected function setUp() {
    parent::setUp();
    $this->setSetting('file_private_path', $this->container
        ->get('site.path') . '/private');
    $this->fileMigrationSetup();
}

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