Search for onTerminate

  1. Search 7.x for onTerminate
  2. Search 9.5.x for onTerminate
  3. Search 8.9.x for onTerminate
  4. Search 10.3.x for onTerminate
  5. Other projects
Title Object type File name Summary
AutomatedCron::onTerminate function core/modules/automated_cron/src/EventSubscriber/AutomatedCron.php Run the automated cron if enabled.
DrupalKernelRequestStackTest::$throwOnTerminate property core/tests/Drupal/KernelTests/Core/DrupalKernel/DrupalKernelRequestStackTest.php Whether the kernel terminate event listener throws an exception.
DrupalKernelRequestStackTest::onTerminate function core/tests/Drupal/KernelTests/Core/DrupalKernel/DrupalKernelRequestStackTest.php Throws an exception during termination when requested by a test.
MaintenanceModeSubscriber::onTerminate function core/lib/Drupal/Core/EventSubscriber/MaintenanceModeSubscriber.php Logs changes to maintenance mode.
ResourceObjectNormalizationCacher::onTerminate function core/modules/jsonapi/src/EventSubscriber/ResourceObjectNormalizationCacher.php Writes normalizations of entities to cache, if any were created.
ResourceObjectNormalizationCacher::saveOnTerminate function core/modules/jsonapi/src/EventSubscriber/ResourceObjectNormalizationCacher.php Adds a normalization to be cached after the response has been sent.

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