You are here

protected property KernelTestBase::$backupGlobals in Drupal 10

Same name and namespace in other branches
  1. 8 core/tests/Drupal/KernelTests/KernelTestBase.php \Drupal\KernelTests\KernelTestBase::backupGlobals
  2. 9 core/tests/Drupal/KernelTests/KernelTestBase.php \Drupal\KernelTests\KernelTestBase::backupGlobals

Back up and restore any global variables that may be changed by tests.

See also

self::runTestInSeparateProcess

File

core/tests/Drupal/KernelTests/KernelTestBase.php, line 101

Class

KernelTestBase
Base class for functional integration tests.

Namespace

Drupal\KernelTests

Code

protected $backupGlobals = TRUE;