function DrupalKernelTest::tearDown
Overrides KernelTestBase::tearDown
File
-
core/
tests/ Drupal/ KernelTests/ Core/ DrupalKernel/ DrupalKernelTest.php, line 29
Class
- DrupalKernelTest
- Tests DIC compilation to disk.
Namespace
Drupal\KernelTests\Core\DrupalKernelCode
protected function tearDown() : void {
$currentErrorHandler = Error::currentErrorHandler();
if (is_string($currentErrorHandler) && $currentErrorHandler === '_drupal_error_handler') {
restore_error_handler();
}
parent::tearDown();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.