DatabaseTest::$root

Same name in other branches
  1. 9 core/tests/Drupal/Tests/Core/Database/DatabaseTest.php \Drupal\Tests\Core\Database\DatabaseTest::root
  2. 10 core/tests/Drupal/Tests/Core/Database/DatabaseTest.php \Drupal\Tests\Core\Database\DatabaseTest::root

Path to DRUPAL_ROOT.

Type: string

Overrides UnitTestCase::$root

File

core/tests/Drupal/Tests/Core/Database/DatabaseTest.php, line 33

Class

DatabaseTest
@coversDefaultClass \Drupal\Core\Database\Database

Namespace

Drupal\Tests\Core\Database

Code

protected $root;

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