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