Search for cleanup

  1. Search 7.x for cleanup
  2. Search 9.5.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.
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/lib/Drupal/Core/Database/Driver/mysql/Connection.php Flag to indicate if the cleanup function in __destruct() should run.
DeprecatedCleanupTest class core/modules/simpletest/tests/src/Kernel/DeprecatedCleanupTest.php Verify deprecation errors for the cleanup functions.
DeprecatedCleanupTest.php file core/modules/simpletest/tests/src/Kernel/DeprecatedCleanupTest.php
DeprecatedCleanupTest::$modules property core/modules/simpletest/tests/src/Kernel/DeprecatedCleanupTest.php Modules to enable.
DeprecatedCleanupTest::register function core/modules/simpletest/tests/src/Kernel/DeprecatedCleanupTest.php Registers test-specific services.
DeprecatedCleanupTest::testDeprecatedCleanFunctions function core/modules/simpletest/tests/src/Kernel/DeprecatedCleanupTest.php @expectedDeprecation simpletest_clean_environment is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Access the environment_cleaner service and call its cleanEnvironment() method, or useā€¦
EntitySchemaTest::testCleanUpStorageDefinition function core/tests/Drupal/KernelTests/Core/Entity/EntitySchemaTest.php Tests fields from an uninstalled module are removed from the schema.
FieldUpdateTest::testEntityReferenceFieldConfigCleanUpdate function core/modules/field/tests/src/Functional/Update/FieldUpdateTest.php Tests field_post_update_remove_handler_submit_setting().
FloodTest::testCleanUp function core/modules/system/tests/src/Kernel/System/FloodTest.php Test 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.
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.
views_post_update_cleanup_duplicate_views_data function core/modules/views/views.post_update.php Update some views fields that were previously duplicated.

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