Search for shutdown

  1. Search 7.x for shutdown
  2. Search 9.5.x for shutdown
  3. Search 8.9.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.
Database::commitAllOnShutdown function core/lib/Drupal/Core/Database/Database.php Calls commitAll() on all the open connections.
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 install.
ShutdownFunctionsTest::tearDown function core/modules/system/tests/src/Functional/System/ShutdownFunctionsTest.php
ShutdownFunctionsTest::testShutdownFunctions function core/modules/system/tests/src/Functional/System/ShutdownFunctionsTest.php Tests shutdown functions.
ShutdownFunctionTest class core/tests/Drupal/KernelTests/Core/Bootstrap/ShutdownFunctionTest.php Tests.
ShutdownFunctionTest.php file core/tests/Drupal/KernelTests/Core/Bootstrap/ShutdownFunctionTest.php
ShutdownFunctionTest::$shutDownOneCalled property core/tests/Drupal/KernelTests/Core/Bootstrap/ShutdownFunctionTest.php Flag to indicate if ::shutdownOne() called.
ShutdownFunctionTest::$shutDownTwoCalled property core/tests/Drupal/KernelTests/Core/Bootstrap/ShutdownFunctionTest.php Flag to indicate if ::shutdownTwo() called.
ShutdownFunctionTest::shutdownOne function core/tests/Drupal/KernelTests/Core/Bootstrap/ShutdownFunctionTest.php Tests shutdown functions by registering another shutdown function.
ShutdownFunctionTest::shutdownTwo function core/tests/Drupal/KernelTests/Core/Bootstrap/ShutdownFunctionTest.php Tests shutdown functions by being registered during shutdown.
ShutdownFunctionTest::testShutdownFunctionInShutdownFunction function core/tests/Drupal/KernelTests/Core/Bootstrap/ShutdownFunctionTest.php Tests that shutdown functions can be added by other 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.
TestSiteInstallCommand::$originalShutdownCallbacks property core/tests/Drupal/TestSite/Commands/TestSiteInstallCommand.php The original array of shutdown function callbacks.
UpdateKernel::shutdownSession function core/lib/Drupal/Core/Update/UpdateKernel.php Ensures that the session is saved.
_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.