KernelTestBase::$backupStaticAttributes

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

Class

KernelTestBase
Base class for functional integration tests.

Namespace

Drupal\KernelTests

Code

protected $backupStaticAttributes = TRUE;

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