TestSetupTrait::$tempFilesDirectory

Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/Test/TestSetupTrait.php \Drupal\Core\Test\TestSetupTrait::tempFilesDirectory
  2. 10 core/lib/Drupal/Core/Test/TestSetupTrait.php \Drupal\Core\Test\TestSetupTrait::tempFilesDirectory
  3. 11.x core/lib/Drupal/Core/Test/TestSetupTrait.php \Drupal\Core\Test\TestSetupTrait::tempFilesDirectory

The temporary file directory for the test environment.

This value has to match the temporary directory created in install_base_system() for test installs.

Type: string

See also

\Drupal\simpletest\TestBase::prepareEnvironment()

\Drupal\Tests\BrowserTestBase::prepareEnvironment()

install_base_system()

File

core/lib/Drupal/Core/Test/TestSetupTrait.php, line 111

Class

TestSetupTrait
Provides a trait for shared test setup functionality.

Namespace

Drupal\Core\Test

Code

protected $tempFilesDirectory;

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