Search for cleanup

  1. Search 7.x for cleanup
  2. Search 9.5.x for cleanup
  3. Search 8.9.x for cleanup
  4. Search 10.3.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 test environment.
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
DriverSpecificTransactionTestBase::cleanUp function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificTransactionTestBase.php Starts over for a new test.
drupal-8.entity-revision-data-cleanup-2869568.php file core/modules/system/tests/fixtures/update/drupal-8.entity-revision-data-cleanup-2869568.php Provides database changes for testing upgrade path of system_update_8404().
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.
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.
SimpletestTestRunResultsStorage::cleanUp function core/lib/Drupal/Core/Test/SimpletestTestRunResultsStorage.php Resets the test run storage.
SqlContentEntityStorageRevisionDataCleanupTest class core/modules/system/tests/src/Functional/Update/SqlContentEntityStorageRevisionDataCleanupTest.php Tests cleaning up revision data tables.
SqlContentEntityStorageRevisionDataCleanupTest.php file core/modules/system/tests/src/Functional/Update/SqlContentEntityStorageRevisionDataCleanupTest.php
SqlContentEntityStorageRevisionDataCleanupTest::setDatabaseDumpFiles function core/modules/system/tests/src/Functional/Update/SqlContentEntityStorageRevisionDataCleanupTest.php Set database dump files to be used.
SqlContentEntityStorageRevisionDataCleanupTest::testRevisionDataCleanup function core/modules/system/tests/src/Functional/Update/SqlContentEntityStorageRevisionDataCleanupTest.php Tests that stale rows in the revision data table are deleted.
TestRunResultsStorageInterface::cleanUp function core/lib/Drupal/Core/Test/TestRunResultsStorageInterface.php Resets the test run storage.
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.