TestSetupTrait::$publicFilesDirectory

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

The public file directory for the test environment.

Type: string

See also

\Drupal\simpletest\TestBase::prepareEnvironment()

\Drupal\Tests\BrowserTestBase::prepareEnvironment()

File

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

Class

TestSetupTrait
Provides a trait for shared test setup functionality.

Namespace

Drupal\Core\Test

Code

protected $publicFilesDirectory;

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