public function ShutdownFunctionTest::shutdownTwo in Drupal 9
Tests shutdown functions by being registered during shutdown.
File
- core/
tests/ Drupal/ KernelTests/ Core/ Bootstrap/ ShutdownFunctionTest.php, line 60
Class
- ShutdownFunctionTest
- Tests.
Namespace
Drupal\KernelTests\Core\BootstrapCode
public function shutdownTwo() {
$this->shutDownTwoCalled = TRUE;
}