Search for clear

  1. Search 7.x for clear
  2. Search 9.5.x for clear
  3. Search 8.9.x for clear
  4. Search 10.3.x for clear
  5. Other projects
Title Object type File name Summary
FailureMarker::clear function core/modules/package_manager/src/FailureMarker.php Deletes the marker file.
FileProcessOutputCallback::clearErrorOutput function core/modules/package_manager/src/FileProcessOutputCallback.php
FileProcessOutputCallback::clearOutput function core/modules/package_manager/src/FileProcessOutputCallback.php
FixtureManipulator::clearQueuedManipulationItems function core/modules/package_manager/tests/modules/fixture_manipulator/src/FixtureManipulator.php Clears all queued manipulation items.
FloodInterface::clear function core/lib/Drupal/Core/Flood/FloodInterface.php Makes the flood control mechanism forget an event for the current visitor.
FloodTest::testClearByPrefix function core/modules/system/tests/src/Kernel/System/FloodTest.php Tests clearByPrefix method on flood backends.
FormState::clearErrors function core/lib/Drupal/Core/Form/FormState.php
FormStateDecoratorBase::clearErrors function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php
FormStateDecoratorBaseTest::testClearErrors function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php @covers ::clearErrors
FormStateInterface::clearErrors function core/lib/Drupal/Core/Form/FormStateInterface.php Clears all errors against all form elements made by self::setErrorByName().
HelpSearch::indexClear function core/modules/help/src/Plugin/Search/HelpSearch.php
HelpSectionManager::clearCachedDefinitions function core/modules/help/src/HelpSectionManager.php
ImageStyleStorage::clearReplacementId function core/modules/image/src/ImageStyleStorage.php
ImageStyleStorageInterface::clearReplacementId function core/modules/image/src/ImageStyleStorageInterface.php Clears a replacement ID from the storage.
ImmutableConfig::clear function core/lib/Drupal/Core/Config/ImmutableConfig.php
ImmutableConfigTest::testClear function core/tests/Drupal/Tests/Core/Config/ImmutableConfigTest.php @covers ::clear
JavascriptErrorsTest::clearErrorLog function core/tests/Drupal/FunctionalJavascriptTests/JavascriptErrorsTest.php Clear the JavaScript error log to prevent this test failing for real.
LazyPluginCollection::clear function core/lib/Drupal/Component/Plugin/LazyPluginCollection.php Clears all instantiated plugins.
LibraryDiscovery::clearCachedDefinitions function core/lib/Drupal/Core/Asset/LibraryDiscovery.php
LibraryDiscoveryCollector::clearCachedDefinitions function core/lib/Drupal/Core/Asset/LibraryDiscoveryCollector.php Clears static and persistent cache.
LibraryDiscoveryInterface::clearCachedDefinitions function core/lib/Drupal/Core/Asset/LibraryDiscoveryInterface.php Clears static and persistent library definition caches.
LocalActionManager::clearCachedDefinitions function core/lib/Drupal/Core/Menu/LocalActionManager.php
LocaleTranslationProjectsTest::testLocaleTranslationClearCacheProjects function core/modules/locale/tests/src/Kernel/LocaleTranslationProjectsTest.php Tests locale_translation_clear_cache_projects().
locale_translation_clear_cache_projects function core/modules/locale/locale.translation.inc Clears the projects cache.
locale_translation_clear_status function core/modules/locale/locale.module Clear the translation status cache.
Log::clear function core/lib/Drupal/Core/Database/Log.php Empty the query log for the specified logging key.
MemoryBackend::clear function core/lib/Drupal/Core/Flood/MemoryBackend.php
MemoryBackend::clearByPrefix function core/lib/Drupal/Core/Flood/MemoryBackend.php
MenuActiveTrail::clear function core/lib/Drupal/Core/ProxyClass/Menu/MenuActiveTrail.php
MessageCommand::$clearPrevious property core/lib/Drupal/Core/Ajax/MessageCommand.php Whether to clear previous messages.
MigrateExecutableMemoryExceededTest::testMemoryExceededClearedEnough function core/modules/migrate/tests/src/Unit/MigrateExecutableMemoryExceededTest.php Tests memoryExceeded method when enough is cleared.
MigrateIdMapInterface::clearMessages function core/modules/migrate/src/Plugin/MigrateIdMapInterface.php Clears all messages from the map.
MigrateMessageCapture::clear function core/modules/migrate_drupal_ui/src/Batch/MigrateMessageCapture.php Clears out any captured messages.
MigrateSqlIdMapTest::testClearMessages function core/modules/migrate/tests/src/Unit/MigrateSqlIdMapTest.php Tests the clear messages method.
Migration::clearInterruptionResult function core/modules/migrate/src/Plugin/Migration.php
MigrationInterface::clearInterruptionResult function core/modules/migrate/src/Plugin/MigrationInterface.php Clears the result to return upon interruption.
MockAliasManager::cacheClear function core/modules/system/src/Tests/Routing/MockAliasManager.php
ModuleHandlerTest::testResetImplementationsClearsHooks function core/tests/Drupal/KernelTests/Core/Extension/ModuleHandlerTest.php Tests that resetImplementations() clears the hook memory cache.
NodeSearch::indexClear function core/modules/node/src/Plugin/Search/NodeSearch.php
NodeStorage::clearRevisionsLanguage function core/modules/node/src/NodeStorage.php
NodeStorageInterface::clearRevisionsLanguage function core/modules/node/src/NodeStorageInterface.php Unsets the language for all nodes with the given language.
NullIdMap::clearMessages function core/modules/migrate/src/Plugin/migrate/id_map/NullIdMap.php
OpenTelemetryFrontPagePerformanceTest::clearCaches function core/profiles/demo_umami/tests/src/FunctionalJavascript/OpenTelemetryFrontPagePerformanceTest.php Clear caches.
OpenTelemetryNodePagePerformanceTest::clearCaches function core/profiles/demo_umami/tests/src/FunctionalJavascript/OpenTelemetryNodePagePerformanceTest.php Clear caches.
plugin.manager.module_test.cache_clear_test service core/modules/system/tests/modules/module_test/module_test.services.yml Drupal\module_test\PluginManagerCacheClearer
PluginManagerCacheClearer class core/modules/system/tests/modules/module_test/src/PluginManagerCacheClearer.php Helps test module uninstall.
PluginManagerCacheClearer.php file core/modules/system/tests/modules/module_test/src/PluginManagerCacheClearer.php
PluginManagerCacheClearer::$optionalService property core/modules/system/tests/modules/module_test/src/PluginManagerCacheClearer.php An optional service dependency.
PluginManagerCacheClearer::$state property core/modules/system/tests/modules/module_test/src/PluginManagerCacheClearer.php
PluginManagerCacheClearer::clearCachedDefinitions function core/modules/system/tests/modules/module_test/src/PluginManagerCacheClearer.php Tests call to CachedDiscoveryInterface::clearCachedDefinitions().

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