TestSetupTrait::$tempFilesDirectory
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Test/TestSetupTrait.php \Drupal\Core\Test\TestSetupTrait::tempFilesDirectory
- 10 core/lib/Drupal/Core/Test/TestSetupTrait.php \Drupal\Core\Test\TestSetupTrait::tempFilesDirectory
- 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()
File
-
core/
lib/ Drupal/ Core/ Test/ TestSetupTrait.php, line 111
Class
- TestSetupTrait
- Provides a trait for shared test setup functionality.
Namespace
Drupal\Core\TestCode
protected $tempFilesDirectory;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.