14 calls to drupal_register_shutdown_function()
- BrowserTestBase::tearDown in core/
tests/ Drupal/ Tests/ BrowserTestBase.php - Database::commitAllOnShutdown in core/
lib/ Drupal/ Core/ Database/ Database.php - Calls commitAll() on all the open connections.
- DatabaseLockBackend::__construct in core/
lib/ Drupal/ Core/ Lock/ DatabaseLockBackend.php - Constructs a new DatabaseLockBackend.
- FunctionalTestSetupTrait::prepareEnvironment in core/
lib/ Drupal/ Core/ Test/ FunctionalTestSetupTrait.php - Prepares the current environment for running the test.
- KernelTestBase::assertPostConditions in core/
tests/ Drupal/ KernelTests/ KernelTestBase.php - KernelTestBaseShutdownTest::shutdownFunction in core/
tests/ Drupal/ KernelTests/ KernelTestBaseShutdownTest.php - Registers that this shutdown function has been called.
- KernelTestBaseShutdownTest::testShutdownFunction in core/
tests/ Drupal/ KernelTests/ KernelTestBaseShutdownTest.php - @covers ::assertPostConditions
- SessionTestController::triggerWriteException in core/
modules/ system/ tests/ modules/ session_test/ src/ Controller/ SessionTestController.php - Trigger an exception when the session is written.
- ShutdownFunctionTest::shutdownOne in core/
tests/ Drupal/ KernelTests/ Core/ Bootstrap/ ShutdownFunctionTest.php - Tests shutdown functions by registering another shutdown function.
- ShutdownFunctionTest::testShutdownFunctionInShutdownFunction in core/
tests/ Drupal/ KernelTests/ Core/ Bootstrap/ ShutdownFunctionTest.php - Tests that shutdown functions can be added by other shutdown functions.
- SystemTestController::shutdownFunctions in core/
modules/ system/ tests/ modules/ system_test/ src/ Controller/ SystemTestController.php - A simple page callback which adds a register shutdown function.
- _batch_page in core/
includes/ batch.inc - Renders the batch processing page based on the current state of the batch.
- _drupal_shutdown_function in core/
includes/ bootstrap.inc - Executes registered shutdown functions.
- _system_test_first_shutdown_function in core/
modules/ system/ tests/ modules/ system_test/ system_test.module - Dummy shutdown function which registers another shutdown function.
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.