Search for shutdown

  1. Search 7.x for shutdown
  2. Search 9.5.x for shutdown
  3. Search 10.3.x for shutdown
  4. Search 11.x for shutdown
  5. Other projects
Title Object type File name Summary
BrowserTestBase::$originalShutdownCallbacks property core/tests/Drupal/Tests/BrowserTestBase.php The original array of shutdown function callbacks.
DrupalKernel::shutdown function core/lib/Drupal/Core/DrupalKernel.php Shuts down the kernel.
DrupalKernelInterface::shutdown function core/lib/Drupal/Core/DrupalKernelInterface.php Shuts down the kernel.
drupal_register_shutdown_function function core/includes/bootstrap.inc Registers a function for execution on shutdown.
KernelTestBaseShutdownTest class core/tests/Drupal/KernelTests/KernelTestBaseShutdownTest.php @coversDefaultClass \Drupal\KernelTests\KernelTestBase
KernelTestBaseShutdownTest.php file core/tests/Drupal/KernelTests/KernelTestBaseShutdownTest.php
KernelTestBaseShutdownTest::$expectedShutdownCalled property core/tests/Drupal/KernelTests/KernelTestBaseShutdownTest.php Indicates which shutdown functions are expected to be called.
KernelTestBaseShutdownTest::$shutdownCalled property core/tests/Drupal/KernelTests/KernelTestBaseShutdownTest.php Indicates which shutdown functions have been called.
KernelTestBaseShutdownTest::assertPostConditions function core/tests/Drupal/KernelTests/KernelTestBaseShutdownTest.php
KernelTestBaseShutdownTest::setUp function core/tests/Drupal/KernelTests/KernelTestBaseShutdownTest.php
KernelTestBaseShutdownTest::shutdownFunction function core/tests/Drupal/KernelTests/KernelTestBaseShutdownTest.php Registers that this shutdown function has been called.
KernelTestBaseShutdownTest::shutdownFunction2 function core/tests/Drupal/KernelTests/KernelTestBaseShutdownTest.php Registers that this shutdown function has been called.
KernelTestBaseShutdownTest::testNoShutdownFunction function core/tests/Drupal/KernelTests/KernelTestBaseShutdownTest.php @covers ::assertPostConditions
KernelTestBaseShutdownTest::testShutdownFunction function core/tests/Drupal/KernelTests/KernelTestBaseShutdownTest.php @covers ::assertPostConditions
ShutdownFunctionsTest class core/modules/system/tests/src/Functional/System/ShutdownFunctionsTest.php Functional tests shutdown functions.
ShutdownFunctionsTest.php file core/modules/system/tests/src/Functional/System/ShutdownFunctionsTest.php
ShutdownFunctionsTest::$defaultTheme property core/modules/system/tests/src/Functional/System/ShutdownFunctionsTest.php The theme to install as the default for testing.
ShutdownFunctionsTest::$modules property core/modules/system/tests/src/Functional/System/ShutdownFunctionsTest.php Modules to enable.
ShutdownFunctionsTest::tearDown function core/modules/system/tests/src/Functional/System/ShutdownFunctionsTest.php
ShutdownFunctionsTest::testShutdownFunctions function core/modules/system/tests/src/Functional/System/ShutdownFunctionsTest.php Test shutdown functions.
SystemTestController::shutdownFunctions function core/modules/system/tests/modules/system_test/src/Controller/SystemTestController.php A simple page callback which adds a register shutdown function.
TestBase::$originalShutdownCallbacks property core/modules/simpletest/src/TestBase.php The original array of shutdown function callbacks.
UpdateKernel::shutdownSession function core/lib/Drupal/Core/Update/UpdateKernel.php Ensures that the session is saved.
WebTestBase::$originalShutdownCallbacks property core/modules/simpletest/src/WebTestBase.php The original shutdown handlers array, before it was cleaned for testing.
_batch_shutdown function core/includes/batch.inc Shutdown function: Stores the current batch data for the next request.
_drupal_shutdown_function function core/includes/bootstrap.inc Executes registered shutdown functions.
_drupal_shutdown_function_handle_exception function core/includes/bootstrap.inc Displays and logs any errors that may happen during shutdown.
_system_test_first_shutdown_function function core/modules/system/tests/modules/system_test/system_test.module Dummy shutdown function which registers another shutdown function.
_system_test_second_shutdown_function function core/modules/system/tests/modules/system_test/system_test.module Dummy shutdown function.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.