Destructable.php |
file |
core/modules/system/tests/modules/destructable_test/src/Destructable.php |
|
Registry::destruct |
function |
core/lib/Drupal/Core/Theme/Registry.php |
Performs destruct operations. |
TestClass::destruct |
function |
core/modules/system/tests/modules/service_provider_test/src/TestClass.php |
Performs destruct operations. |
DestructableInterface |
interface |
core/lib/Drupal/Core/DestructableInterface.php |
The interface for services that need explicit destruction. |
Connection::__destruct |
function |
core/modules/mysql/src/Driver/Database/mysql/Connection.php |
|
RouteBuilder::destruct |
function |
core/lib/Drupal/Core/ProxyClass/Routing/RouteBuilder.php |
Performs destruct operations. |
Connection::__destruct |
function |
core/modules/sqlite/src/Driver/Database/sqlite/Connection.php |
Destructor for the SQLite connection. |
RouteBuilder::destruct |
function |
core/lib/Drupal/Core/Routing/RouteBuilder.php |
Performs destruct operations. |
ServiceDestructionTest |
class |
core/tests/Drupal/KernelTests/Core/DrupalKernel/ServiceDestructionTest.php |
Tests that services are correctly destructed. |
ModuleHandler::destruct |
function |
core/lib/Drupal/Core/Extension/ModuleHandler.php |
Performs destruct operations. |
DestructableServiceTest |
class |
core/tests/Drupal/FunctionalTests/HttpKernel/DestructableServiceTest.php |
Tests invocation of services performing deferred tasks after response flush. |
CacheCollector::destruct |
function |
core/lib/Drupal/Core/Cache/CacheCollector.php |
Performs destruct operations. |
MenuActiveTrail::destruct |
function |
core/lib/Drupal/Core/ProxyClass/Menu/MenuActiveTrail.php |
Performs destruct operations. |
DestructableInterface.php |
file |
core/lib/Drupal/Core/DestructableInterface.php |
|
ServiceDestructionTest.php |
file |
core/tests/Drupal/KernelTests/Core/DrupalKernel/ServiceDestructionTest.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 |
DestructableServiceTest.php |
file |
core/tests/Drupal/FunctionalTests/HttpKernel/DestructableServiceTest.php |
|
KernelDestructionSubscriber |
class |
core/lib/Drupal/Core/EventSubscriber/KernelDestructionSubscriber.php |
Destructs services that are initiated and tagged with "needs_destruction". |
LocaleTranslation::destruct |
function |
core/modules/locale/src/LocaleTranslation.php |
Performs destruct operations. |
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 |
KernelDestructionSubscriber.php |
file |
core/lib/Drupal/Core/EventSubscriber/KernelDestructionSubscriber.php |
|
ObjectSerialization::__destruct |
function |
core/lib/Drupal/Core/Test/ObjectSerialization.php |
ObjectSerialization destructor. |
DestructableInterface::destruct |
function |
core/lib/Drupal/Core/DestructableInterface.php |
Performs destruct operations. |
DestructableServiceTest::$modules |
property |
core/tests/Drupal/FunctionalTests/HttpKernel/DestructableServiceTest.php |
|
RegisterServicesForDestructionPass |
class |
core/lib/Drupal/Core/DependencyInjection/Compiler/RegisterServicesForDestructionPass.php |
Adds services to the "kernel.destructable_services" container parameter. |
CallsDestructableServiceController |
class |
core/modules/system/tests/modules/destructable_test/src/Controller/CallsDestructableServiceController.php |
Controller to instantiate the destructable service. |
DisplayPluginCollection::__destruct |
function |
core/modules/views/src/DisplayPluginCollection.php |
Destructs a DisplayPluginCollection object. |
Drupal\destructable_test\Destructable |
service |
core/modules/system/tests/modules/destructable_test/destructable_test.services.yml |
|
CallsDestructableServiceController.php |
file |
core/modules/system/tests/modules/destructable_test/src/Controller/CallsDestructableServiceController.php |
|
DestructableServiceTest::$defaultTheme |
property |
core/tests/Drupal/FunctionalTests/HttpKernel/DestructableServiceTest.php |
|
KernelDestructionSubscriber::$services |
property |
core/lib/Drupal/Core/EventSubscriber/KernelDestructionSubscriber.php |
Holds an array of service ID's that will require destruction. |
RegisterServicesForDestructionPass.php |
file |
core/lib/Drupal/Core/DependencyInjection/Compiler/RegisterServicesForDestructionPass.php |
|
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. |
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. |
RegisterServicesForDestructionPass::process |
function |
core/lib/Drupal/Core/DependencyInjection/Compiler/RegisterServicesForDestructionPass.php |
|
LibraryDiscoveryCollectorTest::testDestruct |
function |
core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryCollectorTest.php |
Tests the destruct method. |
ServiceDestructionTest::testDestructionUsed |
function |
core/tests/Drupal/KernelTests/Core/DrupalKernel/ServiceDestructionTest.php |
Verifies that services are destructed when used. |
KernelDestructionSubscriber::registerService |
function |
core/lib/Drupal/Core/EventSubscriber/KernelDestructionSubscriber.php |
Registers a service for destruction. |
ServiceDestructionTest::testDestructionUnused |
function |
core/tests/Drupal/KernelTests/Core/DrupalKernel/ServiceDestructionTest.php |
Verifies that services are not unnecessarily destructed when not used. |
KernelDestructionSubscriber::onKernelTerminate |
function |
core/lib/Drupal/Core/EventSubscriber/KernelDestructionSubscriber.php |
Invoked by the terminate kernel event. |
CallsDestructableServiceController::__construct |
function |
core/modules/system/tests/modules/destructable_test/src/Controller/CallsDestructableServiceController.php |
|
KernelDestructionSubscriber::getSubscribedEvents |
function |
core/lib/Drupal/Core/EventSubscriber/KernelDestructionSubscriber.php |
Registers the methods in this class that should be listeners. |
CallsDestructableServiceController::$destructable |
property |
core/modules/system/tests/modules/destructable_test/src/Controller/CallsDestructableServiceController.php |
Destructable service. |
DestructableServiceTest::testDestructableServiceExecutionOrder |
function |
core/tests/Drupal/FunctionalTests/HttpKernel/DestructableServiceTest.php |
|