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
EnvironmentCleanerService::cleanDatabase function core/modules/simpletest/src/EnvironmentCleanerService.php Remove database entries left over in the fixture database.
EnvironmentCleanerService::cleanEnvironment function core/modules/simpletest/src/EnvironmentCleanerService.php Removes all test-related database tables and directories.
EnvironmentCleanerService::cleanTemporaryDirectories function core/modules/simpletest/src/EnvironmentCleanerService.php Finds all leftover fixture site directories and removes them.
EnvironmentCleanerService::__construct function core/modules/simpletest/src/EnvironmentCleanerService.php Construct an environment cleaner.
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
environment_cleaner service core/modules/simpletest/simpletest.services.yml Drupal\simpletest\EnvironmentCleanerService
environment_cleaner_factory service core/modules/simpletest/simpletest.services.yml Drupal\simpletest\EnvironmentCleanerFactory
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.
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.
FormStateDecoratorBaseTest::testAddCleanValueKey function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php @covers ::addCleanValueKey
FormStateDecoratorBaseTest::testCleanValues function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php @covers ::cleanValues
FormStateDecoratorBaseTest::testGetCleanValueKeys function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php @covers ::getCleanValueKeys
FormStateDecoratorBaseTest::testSetCleanValueKeys function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php @covers ::setCleanValueKeys
FormStateInterface::addCleanValueKey function core/lib/Drupal/Core/Form/FormStateInterface.php Adds a key to the array of form values that will be cleaned.
FormStateInterface::cleanValues function core/lib/Drupal/Core/Form/FormStateInterface.php Removes internal Form API elements and buttons from submitted form values.
FormStateInterface::getCleanValueKeys function core/lib/Drupal/Core/Form/FormStateInterface.php Gets the keys of the form values that will be cleaned.
FormStateInterface::setCleanValueKeys function core/lib/Drupal/Core/Form/FormStateInterface.php Sets the keys of the form values that will be cleaned.
FormStateTest::testAddCleanValueKey function core/tests/Drupal/Tests/Core/Form/FormStateTest.php @covers ::addCleanValueKey
FormStateTest::testCleanValues function core/tests/Drupal/Tests/Core/Form/FormStateTest.php @depends testAddCleanValueKey
FormStateTest::testGetCleanValueKeys function core/tests/Drupal/Tests/Core/Form/FormStateTest.php @covers ::getCleanValueKeys
FormStateTest::testSetCleanValueKeys function core/tests/Drupal/Tests/Core/Form/FormStateTest.php @covers ::setCleanValueKeys
FormTestFormStateValuesCleanAdvancedForm class core/modules/system/tests/modules/form_test/src/Form/FormTestFormStateValuesCleanAdvancedForm.php Form builder for \Drupal\Core\Form\FormState::cleanValues() test.
FormTestFormStateValuesCleanAdvancedForm.php file core/modules/system/tests/modules/form_test/src/Form/FormTestFormStateValuesCleanAdvancedForm.php
FormTestFormStateValuesCleanAdvancedForm::buildForm function core/modules/system/tests/modules/form_test/src/Form/FormTestFormStateValuesCleanAdvancedForm.php Form constructor.
FormTestFormStateValuesCleanAdvancedForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestFormStateValuesCleanAdvancedForm.php Returns a unique string identifying the form.
FormTestFormStateValuesCleanAdvancedForm::submitForm function core/modules/system/tests/modules/form_test/src/Form/FormTestFormStateValuesCleanAdvancedForm.php Form submission handler.
FormTestFormStateValuesCleanForm class core/modules/system/tests/modules/form_test/src/Form/FormTestFormStateValuesCleanForm.php Form builder for \Drupal\Core\Form\FormState::cleanValues() test.
FormTestFormStateValuesCleanForm.php file core/modules/system/tests/modules/form_test/src/Form/FormTestFormStateValuesCleanForm.php
FormTestFormStateValuesCleanForm::buildForm function core/modules/system/tests/modules/form_test/src/Form/FormTestFormStateValuesCleanForm.php Form constructor.
FormTestFormStateValuesCleanForm::cleanValue function core/modules/system/tests/modules/form_test/src/Form/FormTestFormStateValuesCleanForm.php Helper function to clean a value on an element.
FormTestFormStateValuesCleanForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/FormTestFormStateValuesCleanForm.php Returns a unique string identifying the form.
FormTestFormStateValuesCleanForm::submitForm function core/modules/system/tests/modules/form_test/src/Form/FormTestFormStateValuesCleanForm.php Form submission handler.
Html::cleanCssIdentifier function core/lib/Drupal/Component/Utility/Html.php Prepares a string for use as a CSS identifier (element, class, or ID name).
HtmlTest::providerTestCleanCssIdentifier function core/tests/Drupal/Tests/Component/Utility/HtmlTest.php Provides test data for testCleanCssIdentifier().
HtmlTest::testCleanCssIdentifier function core/tests/Drupal/Tests/Component/Utility/HtmlTest.php Tests the Html::cleanCssIdentifier() method.
ImageStylesPathAndUrlTest::testImageStyleUrlAndPathPrivateUnclean function core/modules/image/tests/src/Functional/ImageStylesPathAndUrlTest.php Tests an image style URL with the "private://" schema and unclean URLs.
ImageStylesPathAndUrlTest::testImageStyleUrlAndPathPublicUnclean function core/modules/image/tests/src/Functional/ImageStylesPathAndUrlTest.php Tests an image style URL with the "public://" scheme and unclean URLs.
JsOptimizer::clean function core/lib/Drupal/Core/Asset/JsOptimizer.php Processes the contents of a javascript asset for cleanup.
JsOptimizerUnitTest::providerTestClean function core/tests/Drupal/Tests/Core/Asset/JsOptimizerUnitTest.php Provides data for the JS asset cleaning test.

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