Search for destruct

  1. Search 7.x for destruct
  2. Search 9.5.x for destruct
  3. Search 8.9.x for destruct
  4. Search 11.x for destruct
  5. Other projects
Title Object type File name Summary
CacheCollector::destruct function core/lib/Drupal/Core/Cache/CacheCollector.php Performs destruct operations.
CallsDestructableServiceController class core/modules/system/tests/modules/destructable_test/src/Controller/CallsDestructableServiceController.php Controller to instantiate the destructable service.
CallsDestructableServiceController.php file core/modules/system/tests/modules/destructable_test/src/Controller/CallsDestructableServiceController.php
CallsDestructableServiceController::$destructable property core/modules/system/tests/modules/destructable_test/src/Controller/CallsDestructableServiceController.php Destructable service.
CallsDestructableServiceController::create function core/modules/system/tests/modules/destructable_test/src/Controller/CallsDestructableServiceController.php Instantiates a new instance of the implementing class using autowiring.
CallsDestructableServiceController::render function core/modules/system/tests/modules/destructable_test/src/Controller/CallsDestructableServiceController.php Render callback.
CallsDestructableServiceController::__construct function core/modules/system/tests/modules/destructable_test/src/Controller/CallsDestructableServiceController.php
Connection::__destruct function core/lib/Drupal/Core/Database/Connection.php Ensures that the client connection can be garbage collected.
Connection::__destruct function core/modules/mysql/src/Driver/Database/mysql/Connection.php
Connection::__destruct function core/modules/sqlite/src/Driver/Database/sqlite/Connection.php Destructor for the SQLite connection.
Destructable class core/modules/system/tests/modules/destructable_test/src/Destructable.php
Destructable.php file core/modules/system/tests/modules/destructable_test/src/Destructable.php
Destructable::$semaphore property core/modules/system/tests/modules/destructable_test/src/Destructable.php Semaphore filename.
Destructable::destruct function core/modules/system/tests/modules/destructable_test/src/Destructable.php Performs destruct operations.
Destructable::setSemaphore function core/modules/system/tests/modules/destructable_test/src/Destructable.php Set the destination for the semaphore file.
DestructableInterface interface core/lib/Drupal/Core/DestructableInterface.php The interface for services that need explicit destruction.
DestructableInterface.php file core/lib/Drupal/Core/DestructableInterface.php
DestructableInterface::destruct function core/lib/Drupal/Core/DestructableInterface.php Performs destruct operations.
DestructableServiceTest class core/tests/Drupal/FunctionalTests/HttpKernel/DestructableServiceTest.php Tests invocation of services performing deferred tasks after response flush.
DestructableServiceTest.php file core/tests/Drupal/FunctionalTests/HttpKernel/DestructableServiceTest.php
DestructableServiceTest::$defaultTheme property core/tests/Drupal/FunctionalTests/HttpKernel/DestructableServiceTest.php The theme to install as the default for testing.
DestructableServiceTest::$modules property core/tests/Drupal/FunctionalTests/HttpKernel/DestructableServiceTest.php Modules to install.
DestructableServiceTest::testDestructableServiceExecutionOrder function core/tests/Drupal/FunctionalTests/HttpKernel/DestructableServiceTest.php
destructable_test.info.yml file core/modules/system/tests/modules/destructable_test/destructable_test.info.yml core/modules/system/tests/modules/destructable_test/destructable_test.info.yml
destructable_test.routing.yml file core/modules/system/tests/modules/destructable_test/destructable_test.routing.yml core/modules/system/tests/modules/destructable_test/destructable_test.routing.yml
destructable_test.services.yml file core/modules/system/tests/modules/destructable_test/destructable_test.services.yml core/modules/system/tests/modules/destructable_test/destructable_test.services.yml
DisplayPluginCollection::__destruct function core/modules/views/src/DisplayPluginCollection.php Destructs a DisplayPluginCollection object.
DownloadTest::testNonDestructiveDownload function core/modules/migrate/tests/src/Kernel/process/DownloadTest.php Tests a download that renames the downloaded file if there's a collision.
DriverSpecificTransactionTestBase::testRootTransactionEndCallbackCalledAfterDdlAndDestruction function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificTransactionTestBase.php Tests post-transaction callback executes after a DDL statement.
DriverSpecificTransactionTestBase::testRootTransactionEndCallbackCalledAfterRollbackAndDestruction function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificTransactionTestBase.php Tests post-transaction callback executes after transaction rollback.
Drupal\destructable_test\Destructable service core/modules/system/tests/modules/destructable_test/destructable_test.services.yml
KernelDestructionSubscriber class core/lib/Drupal/Core/EventSubscriber/KernelDestructionSubscriber.php Destructs services that are initiated and tagged with "needs_destruction".
KernelDestructionSubscriber.php file core/lib/Drupal/Core/EventSubscriber/KernelDestructionSubscriber.php
KernelDestructionSubscriber::$services property core/lib/Drupal/Core/EventSubscriber/KernelDestructionSubscriber.php Holds an array of service ID's that will require destruction.
KernelDestructionSubscriber::getSubscribedEvents function core/lib/Drupal/Core/EventSubscriber/KernelDestructionSubscriber.php Registers the methods in this class that should be listeners.
KernelDestructionSubscriber::onKernelTerminate function core/lib/Drupal/Core/EventSubscriber/KernelDestructionSubscriber.php Invoked by the terminate kernel event.
KernelDestructionSubscriber::registerService function core/lib/Drupal/Core/EventSubscriber/KernelDestructionSubscriber.php Registers a service for destruction.
LibraryDiscoveryCollectorTest::testDestruct function core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryCollectorTest.php Tests the destruct method.
LocaleTranslation::destruct function core/modules/locale/src/LocaleTranslation.php Performs destruct operations.
LocaleTranslationTest::testDestruct function core/modules/locale/tests/src/Unit/LocaleTranslationTest.php Tests for \Drupal\locale\LocaleTranslation::destruct().
MenuActiveTrail::destruct function core/lib/Drupal/Core/ProxyClass/Menu/MenuActiveTrail.php Performs destruct operations.
ModuleHandler::destruct function core/lib/Drupal/Core/Extension/ModuleHandler.php
ObjectSerialization::__destruct function core/lib/Drupal/Core/Test/ObjectSerialization.php ObjectSerialization destructor.
PerformanceDataCollector::destruct function core/modules/system/tests/modules/performance_test/src/PerformanceDataCollector.php Performs destruct operations.
RegisterServicesForDestructionPass class core/lib/Drupal/Core/DependencyInjection/Compiler/RegisterServicesForDestructionPass.php Adds services to the "kernel.destructable_services" container parameter.
RegisterServicesForDestructionPass.php file core/lib/Drupal/Core/DependencyInjection/Compiler/RegisterServicesForDestructionPass.php
RegisterServicesForDestructionPass::process function core/lib/Drupal/Core/DependencyInjection/Compiler/RegisterServicesForDestructionPass.php
Registry::destruct function core/lib/Drupal/Core/Theme/Registry.php Performs destruct operations.
RouteBuilder::destruct function core/lib/Drupal/Core/Routing/RouteBuilder.php Performs destruct operations.
RouteBuilder::destruct function core/lib/Drupal/Core/ProxyClass/Routing/RouteBuilder.php Performs destruct operations.

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