DrupalTestCaseTrait::$root

The Drupal root directory.

Type: root

File

core/tests/Drupal/Tests/DrupalTestCaseTrait.php, line 25

Class

DrupalTestCaseTrait
Provides methods common across all Drupal abstract base test classes.

Namespace

Drupal\Tests

Code

protected string $root;

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