UnitTestCase::$root
Same name in other branches
- 9 core/tests/Drupal/Tests/UnitTestCase.php \Drupal\Tests\UnitTestCase::root
- 8.9.x core/tests/Drupal/Tests/UnitTestCase.php \Drupal\Tests\UnitTestCase::root
- 11.x core/tests/Drupal/Tests/UnitTestCase.php \Drupal\Tests\UnitTestCase::root
The app root.
Type: string
File
-
core/
tests/ Drupal/ Tests/ UnitTestCase.php, line 41
Class
- UnitTestCase
- Provides a base class and helpers for Drupal unit tests.
Namespace
Drupal\TestsCode
protected $root;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.