TestSetupTrait::$tempFilesDirectory

Same name in other branches
  1. 9 core/lib/Drupal/Core/Test/TestSetupTrait.php \Drupal\Core\Test\TestSetupTrait::tempFilesDirectory
  2. 8.9.x 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\Tests\BrowserTestBase::prepareEnvironment()

install_base_system()

File

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

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.