Search for clean

  1. Search 7.x for clean
  2. Search 9.5.x for clean
  3. Search 10.3.x for clean
  4. Search 11.x for clean
  5. Other projects
Title Object type File name Summary
AssetOptimizerInterface::clean function core/lib/Drupal/Core/Asset/AssetOptimizerInterface.php Removes unwanted content from an asset.
BatchStorage::cleanup function core/lib/Drupal/Core/ProxyClass/Batch/BatchStorage.php Cleans up failed or old batches.
BatchStorage::cleanup function core/lib/Drupal/Core/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.
ContentEntityStorageBase::cleanIds function core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php Ensures integer entity key values are valid.
CssOptimizer::clean function core/lib/Drupal/Core/Asset/CssOptimizer.php Processes the contents of a CSS asset for cleanup.
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…
ElementsVerticalTabsTest::testDefaultTabCleaned function core/modules/system/tests/src/Functional/Form/ElementsVerticalTabsTest.php Ensures that vertical tab form values are cleaned.
EntitySchemaTest::testCleanUpStorageDefinition function core/tests/Drupal/KernelTests/Core/Entity/EntitySchemaTest.php Tests fields from an uninstalled module are removed from the schema.
EnvironmentCleaner class core/lib/Drupal/Core/Test/EnvironmentCleaner.php Helper class for cleaning test environments.
EnvironmentCleaner.php file core/lib/Drupal/Core/Test/EnvironmentCleaner.php
EnvironmentCleaner::$fileSystem property core/lib/Drupal/Core/Test/EnvironmentCleaner.php The file system service.
EnvironmentCleaner::$output property core/lib/Drupal/Core/Test/EnvironmentCleaner.php Console output.
EnvironmentCleaner::$resultsDatabase property core/lib/Drupal/Core/Test/EnvironmentCleaner.php Connection to the database where test results are stored.
EnvironmentCleaner::$root property core/lib/Drupal/Core/Test/EnvironmentCleaner.php Path to Drupal root directory.
EnvironmentCleaner::$testDatabase property core/lib/Drupal/Core/Test/EnvironmentCleaner.php Connection to the database being used for tests.
EnvironmentCleaner::cleanDatabase function core/lib/Drupal/Core/Test/EnvironmentCleaner.php Remove database entries left over in the fixture database.
EnvironmentCleaner::cleanEnvironment function core/lib/Drupal/Core/Test/EnvironmentCleaner.php Removes all test-related database tables and directories.
EnvironmentCleaner::cleanResultsTable function core/lib/Drupal/Core/Test/EnvironmentCleaner.php Clears test result tables from the results database.
EnvironmentCleaner::cleanTemporaryDirectories function core/lib/Drupal/Core/Test/EnvironmentCleaner.php Finds all leftover fixture site directories and removes them.
EnvironmentCleaner::doCleanDatabase function core/lib/Drupal/Core/Test/EnvironmentCleaner.php Performs the fixture database cleanup.
EnvironmentCleaner::doCleanTemporaryDirectories function core/lib/Drupal/Core/Test/EnvironmentCleaner.php Performs the cleanup of temporary test directories.
EnvironmentCleaner::__construct function core/lib/Drupal/Core/Test/EnvironmentCleaner.php Construct an environment cleaner.
EnvironmentCleanerFactory class core/modules/simpletest/src/EnvironmentCleanerFactory.php Test environment cleaner factory.
EnvironmentCleanerFactory.php file core/modules/simpletest/src/EnvironmentCleanerFactory.php
EnvironmentCleanerFactory::$container property core/modules/simpletest/src/EnvironmentCleanerFactory.php The container.
EnvironmentCleanerFactory::createCleaner function core/modules/simpletest/src/EnvironmentCleanerFactory.php Factory method to create the environment cleaner service.
EnvironmentCleanerFactory::__construct function core/modules/simpletest/src/EnvironmentCleanerFactory.php Construct an environment cleaner factory.
EnvironmentCleanerInterface interface core/lib/Drupal/Core/Test/EnvironmentCleanerInterface.php Defines an interface for cleaning up test results and fixtures.
EnvironmentCleanerInterface.php file core/lib/Drupal/Core/Test/EnvironmentCleanerInterface.php
EnvironmentCleanerInterface::cleanDatabase function core/lib/Drupal/Core/Test/EnvironmentCleanerInterface.php Remove database entries left over in the fixture database.
EnvironmentCleanerInterface::cleanEnvironment function core/lib/Drupal/Core/Test/EnvironmentCleanerInterface.php Removes all test-related database tables and directories.
EnvironmentCleanerInterface::cleanResultsTable function core/lib/Drupal/Core/Test/EnvironmentCleanerInterface.php Clears test result tables from the results database.
EnvironmentCleanerInterface::cleanTemporaryDirectories function core/lib/Drupal/Core/Test/EnvironmentCleanerInterface.php Finds all leftover fixture site directories and removes them.
EnvironmentCleanerService class core/modules/simpletest/src/EnvironmentCleanerService.php Uses containerized services to perform post-test cleanup.
EnvironmentCleanerService.php file core/modules/simpletest/src/EnvironmentCleanerService.php
EnvironmentCleanerService::$cacheDefault property core/modules/simpletest/src/EnvironmentCleanerService.php Default cache.
EnvironmentCleanerService::$configFactory property core/modules/simpletest/src/EnvironmentCleanerService.php The config factory.
EnvironmentCleanerService::$messenger property core/modules/simpletest/src/EnvironmentCleanerService.php Messenger service.
EnvironmentCleanerService::$translation property core/modules/simpletest/src/EnvironmentCleanerService.php The translation service.

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