Search for clean

  1. Search 7.x for clean
  2. Search 8.9.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.
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.
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.
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.
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.
EnvironmentCleanerTest class core/tests/Drupal/KernelTests/Core/Test/EnvironmentCleanerTest.php @coversDefaultClass \Drupal\Core\Test\EnvironmentCleaner
@group Test
EnvironmentCleanerTest.php file core/tests/Drupal/KernelTests/Core/Test/EnvironmentCleanerTest.php
EnvironmentCleanerTest::testDoCleanTemporaryDirectories function core/tests/Drupal/KernelTests/Core/Test/EnvironmentCleanerTest.php @covers ::doCleanTemporaryDirectories
FloodTest::testCleanUp function core/modules/system/tests/src/Kernel/System/FloodTest.php Tests flood control mechanism clean-up.
FormState::$cleanValueKeys property core/lib/Drupal/Core/Form/FormState.php An associative array of form value keys to be removed by cleanValues().
FormState::addCleanValueKey function core/lib/Drupal/Core/Form/FormState.php Adds a key to the array of form values that will be cleaned.
FormState::cleanValues function core/lib/Drupal/Core/Form/FormState.php Removes internal Form API elements and buttons from submitted form values.
FormState::getCleanValueKeys function core/lib/Drupal/Core/Form/FormState.php Gets the keys of the form values that will be cleaned.
FormState::setCleanValueKeys function core/lib/Drupal/Core/Form/FormState.php Sets the keys of the form values that will be cleaned.
FormStateDecoratorBase::addCleanValueKey function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Adds a key to the array of form values that will be cleaned.
FormStateDecoratorBase::cleanValues function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Removes internal Form API elements and buttons from submitted form values.
FormStateDecoratorBase::getCleanValueKeys function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Gets the keys of the form values that will be cleaned.
FormStateDecoratorBase::setCleanValueKeys function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Sets the keys of the form values that will be cleaned.

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