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. 8.9.x 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 27

Class

MigratePrivateFileTest
Tests private files migration.

Namespace

Drupal\Tests\file\Kernel\Migrate\d7

Code

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

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