Search for cleanup

  1. Search 7.x for cleanup
  2. Search 8.9.x for cleanup
  3. Search 10.3.x for cleanup
  4. Search 11.x for cleanup
  5. Other projects
Title Object type File name Summary
BatchStorage::cleanup function core/lib/Drupal/Core/Batch/BatchStorage.php Cleans up failed or old batches.
BatchStorage::cleanup function core/lib/Drupal/Core/ProxyClass/Batch/BatchStorage.php Cleans up failed or old batches.
BatchStorageInterface::cleanup function core/lib/Drupal/Core/Batch/BatchStorageInterface.php Cleans up failed or old batches.
BrowserTestBase::cleanupEnvironment function core/tests/Drupal/Tests/BrowserTestBase.php Clean up the Simpletest environment.
Composer::$packageToCleanup property core/lib/Drupal/Core/Composer/Composer.php
Composer::vendorTestCodeCleanup function core/lib/Drupal/Core/Composer/Composer.php Remove possibly problematic test files from vendored projects.
ComposerDeprecationTest::testVendorTestCodeCleanup function core/tests/Drupal/Tests/Core/Composer/ComposerDeprecationTest.php @covers ::vendorTestCodeCleanup
@group legacy
ComposerIntegrationTest::providerTestVendorCleanup function core/tests/Drupal/Tests/ComposerIntegrationTest.php Data provider for the vendor cleanup utility classes.
ComposerIntegrationTest::testVendorCleanup function core/tests/Drupal/Tests/ComposerIntegrationTest.php Tests the vendor cleanup utilities do not have obsolete packages listed.
Config::getAllCleanupPaths function composer/Plugin/VendorHardening/Config.php Gets the configured list of directories to remove from the root package.
ConfigTest::testMixedCaseConfigCleanupPackages function core/tests/Drupal/Tests/Composer/Plugin/VendorHardening/ConfigTest.php @covers ::getAllCleanupPaths
Connection::$needsCleanup property core/modules/mysql/src/Driver/Database/mysql/Connection.php Flag to indicate if the cleanup function in __destruct() should run.
EntitySchemaTest::testCleanUpStorageDefinition function core/tests/Drupal/KernelTests/Core/Entity/EntitySchemaTest.php Tests fields from an uninstalled module are removed from the schema.
FloodTest::testCleanUp function core/modules/system/tests/src/Kernel/System/FloodTest.php Tests flood control mechanism clean-up.
LegacyScriptsTest::testVendorTestCodeCleanup function core/tests/Drupal/BuildTests/Composer/LegacyScriptsTest.php @covers ::vendorTestCodeCleanup
MigrateTestBase::cleanupMigrateConnection function core/modules/migrate/tests/src/Kernel/MigrateTestBase.php Cleans up the test migrate connection.
ModuleInstallerTest::testCacheBinCleanup function core/tests/Drupal/KernelTests/Core/Extension/ModuleInstallerTest.php Tests cache bins defined by modules are removed when uninstalled.
system_post_update_entity_revision_metadata_bc_cleanup function core/modules/system/system.post_update.php Remove backwards-compatibility leftovers from entity type definitions.
TransactionTest::cleanUp function core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php Starts over for a new test.
UsageTest::testTempFileCleanupDefault function core/modules/file/tests/src/Kernel/UsageTest.php Ensure that temporary files are removed by default.
UsageTest::testTempFileCustomCleanup function core/modules/file/tests/src/Kernel/UsageTest.php Ensure that temporary files are kept as configured.
UsageTest::testTempFileNoCleanup function core/modules/file/tests/src/Kernel/UsageTest.php Ensure that temporary files are kept as configured.
VendorHardeningPlugin::removeBinBeforeCleanup function composer/Plugin/VendorHardening/VendorHardeningPlugin.php Remove bin config for packages that would have the bin file removed.

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