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
JsOptimizerUnitTest::testClean function core/tests/Drupal/Tests/Core/Asset/JsOptimizerUnitTest.php Tests cleaning of a JS asset group containing 'type' => 'file'.
MailFormatHelper::htmlToTextClean function core/lib/Drupal/Core/Mail/MailFormatHelper.php Replaces non-quotation markers from a piece of indentation with spaces.
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.
RequestHelper::isCleanUrl function core/lib/Drupal/Core/Routing/RequestHelper.php Returns whether the request is using a clean URL.
SimpletestResultsForm::$cleaner property core/modules/simpletest/src/Form/SimpletestResultsForm.php The environment cleaner service.
simpletest_clean_database function core/modules/simpletest/simpletest.module Removes prefixed tables from the database from crashed tests.
simpletest_clean_environment function core/modules/simpletest/simpletest.module Removes all temporary database tables and directories.
simpletest_clean_results_table function core/modules/simpletest/simpletest.module Clears the test result tables.
simpletest_clean_temporary_directories function core/modules/simpletest/simpletest.module Finds all leftover temporary directories and removes them.
SqlContentEntityStorageTest::testCleanIds function core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php Tests entity ID sanitization.
StateValuesCleanAdvancedTest class core/modules/system/tests/src/Functional/Form/StateValuesCleanAdvancedTest.php Tests proper removal of submitted form values using
\Drupal\Core\Form\FormState::cleanValues() when having forms with elements
containing buttons like "managed_file".
StateValuesCleanAdvancedTest.php file core/modules/system/tests/src/Functional/Form/StateValuesCleanAdvancedTest.php
StateValuesCleanAdvancedTest::$defaultTheme property core/modules/system/tests/src/Functional/Form/StateValuesCleanAdvancedTest.php The theme to install as the default for testing.
StateValuesCleanAdvancedTest::$image property core/modules/system/tests/src/Functional/Form/StateValuesCleanAdvancedTest.php An image file path for uploading.
StateValuesCleanAdvancedTest::$modules property core/modules/system/tests/src/Functional/Form/StateValuesCleanAdvancedTest.php Modules to enable.
StateValuesCleanAdvancedTest::testFormStateValuesCleanAdvanced function core/modules/system/tests/src/Functional/Form/StateValuesCleanAdvancedTest.php Tests \Drupal\Core\Form\FormState::cleanValues().
StateValuesCleanTest class core/modules/system/tests/src/Functional/Form/StateValuesCleanTest.php Tests proper removal of submitted form values using
\Drupal\Core\Form\FormState::cleanValues().
StateValuesCleanTest.php file core/modules/system/tests/src/Functional/Form/StateValuesCleanTest.php
StateValuesCleanTest::$defaultTheme property core/modules/system/tests/src/Functional/Form/StateValuesCleanTest.php The theme to install as the default for testing.
StateValuesCleanTest::$modules property core/modules/system/tests/src/Functional/Form/StateValuesCleanTest.php Modules to enable.
StateValuesCleanTest::testFormStateValuesClean function core/modules/system/tests/src/Functional/Form/StateValuesCleanTest.php Tests \Drupal\Core\Form\FormState::cleanValues().
StubEnvironmentCleanerService class core/modules/simpletest/tests/src/Kernel/DeprecatedCleanupTest.php Mock environment_cleaner service that does not perform any cleaning.
StubEnvironmentCleanerService::cleanDatabase function core/modules/simpletest/tests/src/Kernel/DeprecatedCleanupTest.php Remove database entries left over in the fixture database.
StubEnvironmentCleanerService::cleanEnvironment function core/modules/simpletest/tests/src/Kernel/DeprecatedCleanupTest.php Removes all test-related database tables and directories.
StubEnvironmentCleanerService::cleanResultsTable function core/modules/simpletest/tests/src/Kernel/DeprecatedCleanupTest.php Clears test result tables from the results database.
StubEnvironmentCleanerService::cleanTemporaryDirectories function core/modules/simpletest/tests/src/Kernel/DeprecatedCleanupTest.php Finds all leftover fixture site directories and removes them.
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::$packagesAlreadyCleaned property composer/Plugin/VendorHardening/VendorHardeningPlugin.php List of projects already cleaned
VendorHardeningPlugin::cleanAllPackages function composer/Plugin/VendorHardening/VendorHardeningPlugin.php Clean all configured packages.
VendorHardeningPlugin::cleanPackage function composer/Plugin/VendorHardening/VendorHardeningPlugin.php Clean a single package.
VendorHardeningPlugin::cleanPathsForPackage function composer/Plugin/VendorHardening/VendorHardeningPlugin.php Clean the installed directories for a named package.
VendorHardeningPlugin::removeBinBeforeCleanup function composer/Plugin/VendorHardening/VendorHardeningPlugin.php Remove bin config for packages that would have the bin file removed.
VendorHardeningPluginTest::testCleanAllPackages function core/tests/Drupal/Tests/Composer/Plugin/VendorHardening/VendorHardeningPluginTest.php @covers ::cleanAllPackages
VendorHardeningPluginTest::testCleanPackage function core/tests/Drupal/Tests/Composer/Plugin/VendorHardening/VendorHardeningPluginTest.php @covers ::cleanPackage
VendorHardeningPluginTest::testCleanPathsForPackage function core/tests/Drupal/Tests/Composer/Plugin/VendorHardening/VendorHardeningPluginTest.php @covers ::cleanPathsForPackage
ViewsPreprocessTest::testCssClassCleaning function core/modules/views/tests/src/Kernel/ViewsPreprocessTest.php Tests css classes on displays are cleaned correctly.
views_post_update_cleanup_duplicate_views_data function core/modules/views/views.post_update.php Update some views fields that were previously duplicated.
WebAssert::cleanUrl function core/tests/Drupal/Tests/WebAssert.php

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