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 10.3.x for destruct
  5. Search 11.x for destruct
  6. Other projects
Title Object type File name Summary
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::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/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 Manages a semaphore file and performs an action upon destruction.
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
Destructable::setSemaphore function core/modules/system/tests/modules/destructable_test/src/Destructable.php Set the destination for the semaphore file.
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
FixtureManipulator::__destruct function core/modules/package_manager/tests/modules/fixture_manipulator/src/FixtureManipulator.php Ensure that changes were committed before object is destroyed.
LocaleTranslation::destruct function core/modules/locale/src/LocaleTranslation.php
LocaleTranslationTest::testDestruct function core/modules/locale/tests/src/Unit/LocaleTranslationTest.php Tests for \Drupal\locale\LocaleTranslation::destruct().
PerformanceDataCollector::destruct function core/modules/system/tests/modules/performance_test/src/PerformanceDataCollector.php
ServiceDestructionTest class core/tests/Drupal/KernelTests/Core/DrupalKernel/ServiceDestructionTest.php Tests that services are correctly destructed.
ServiceDestructionTest.php file core/tests/Drupal/KernelTests/Core/DrupalKernel/ServiceDestructionTest.php
ServiceDestructionTest::testDestructableServicesOrder function core/tests/Drupal/KernelTests/Core/DrupalKernel/ServiceDestructionTest.php Tests destructable services order.
ServiceDestructionTest::testDestructionUnused function core/tests/Drupal/KernelTests/Core/DrupalKernel/ServiceDestructionTest.php Verifies that services are not unnecessarily destructed when not used.
ServiceDestructionTest::testDestructionUsed function core/tests/Drupal/KernelTests/Core/DrupalKernel/ServiceDestructionTest.php Verifies that services are destructed when used.
StageFixtureManipulator::__destruct function core/modules/package_manager/tests/modules/fixture_manipulator/src/StageFixtureManipulator.php
TestClass::destruct function core/modules/system/tests/modules/service_provider_test/src/TestClass.php
TransactionTest::testRootTransactionEndCallbackCalledAfterDdlAndDestruction function core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php Tests post-transaction callback executes after a DDL statement.
TransactionTest::testRootTransactionEndCallbackCalledAfterRollbackAndDestruction function core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php Tests post-transaction callback executes after transaction rollback.

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