12 calls to drupal_register_shutdown_function()

BrowserTestBase::tearDown in core/tests/Drupal/Tests/BrowserTestBase.php
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
SystemTestController::shutdownFunctions in core/modules/system/tests/modules/system_test/src/Controller/SystemTestController.php
A simple page callback which adds a register shutdown function.
TestBase::prepareEnvironment in core/modules/simpletest/src/TestBase.php
Prepares the current environment for running the test.
TestBase::restoreEnvironment in core/modules/simpletest/src/TestBase.php
Cleans up the test environment and restores the original environment.
_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.