KernelTestBase::$backupGlobals

Same name and namespace in other branches
  1. 9 core/tests/Drupal/KernelTests/KernelTestBase.php \Drupal\KernelTests\KernelTestBase::backupGlobals
  2. 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\KernelTests

Code

protected $backupGlobals = TRUE;

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