KernelTestBase::$backupGlobals
Same name in other branches
- 9 core/tests/Drupal/KernelTests/KernelTestBase.php \Drupal\KernelTests\KernelTestBase::backupGlobals
- 10 core/tests/Drupal/KernelTests/KernelTestBase.php \Drupal\KernelTests\KernelTestBase::backupGlobals
Back up and restore any global variables that may be changed by tests.
Type: backupGlobals
See also
self::runTestInSeparateProcess
File
-
core/
tests/ Drupal/ KernelTests/ KernelTestBase.php, line 92
Class
- KernelTestBase
- Base class for functional integration tests.
Namespace
Drupal\KernelTestsCode
protected $backupGlobals = TRUE;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.