function ShutdownFunctionTest::shutdownTwo
Same name in other branches
- 10 core/tests/Drupal/KernelTests/Core/Bootstrap/ShutdownFunctionTest.php \Drupal\KernelTests\Core\Bootstrap\ShutdownFunctionTest::shutdownTwo()
- 11.x core/tests/Drupal/KernelTests/Core/Bootstrap/ShutdownFunctionTest.php \Drupal\KernelTests\Core\Bootstrap\ShutdownFunctionTest::shutdownTwo()
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;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.