protected function TestBase::beforePrepareEnvironment in SimpleTest 8.3
Act on global state information before the environment is altered for a test.
Allows e.g. KernelTestBase to prime system/extension info from the parent site (and inject it into the test environment so as to improve performance).
1 call to TestBase::beforePrepareEnvironment()
- TestBase::prepareEnvironment in src/
TestBase.php - Prepares the current environment for running the test.
1 method overrides TestBase::beforePrepareEnvironment()
- KernelTestBase::beforePrepareEnvironment in src/
KernelTestBase.php - Act on global state information before the environment is altered for a test.
File
- src/
TestBase.php, line 1060
Class
- TestBase
- Base class for Drupal tests.
Namespace
Drupal\simpletestCode
protected function beforePrepareEnvironment() {
}