function LegacyFileSystemTest::setUp

Same name in other branches
  1. 11.x core/tests/Drupal/KernelTests/Core/File/LegacyFileSystemTest.php \Drupal\KernelTests\Core\File\LegacyFileSystemTest::setUp()

Overrides FileTestBase::setUp

File

core/tests/Drupal/KernelTests/Core/File/LegacyFileSystemTest.php, line 26

Class

LegacyFileSystemTest
Tests the legacy file system functions.

Namespace

Drupal\KernelTests\Core\File

Code

protected function setUp() : void {
    parent::setUp();
    $this->fileSystem = $this->container
        ->get('file_system');
}

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