Search for clear

  1. Search 7.x for clear
  2. Search 9.5.x for clear
  3. Search 10.3.x for clear
  4. Search 11.x for clear
  5. Other projects
Title Object type File name Summary
ImmutableConfig::clear function core/lib/Drupal/Core/Config/ImmutableConfig.php Unsets a value in this configuration object.
ImmutableConfigTest::testClear function core/tests/Drupal/Tests/Core/Config/ImmutableConfigTest.php @covers ::clear
LazyPluginCollection::clear function core/lib/Drupal/Component/Plugin/LazyPluginCollection.php Clears all instantiated plugins.
LibraryDiscovery::clearCachedDefinitions function core/lib/Drupal/Core/Asset/LibraryDiscovery.php Clears static and persistent library definition caches.
LibraryDiscoveryInterface::clearCachedDefinitions function core/lib/Drupal/Core/Asset/LibraryDiscoveryInterface.php Clears static and persistent library definition caches.
LocaleTranslationProjectsTest::testLocaleTranslationClearCacheProjects function core/modules/locale/tests/src/Kernel/LocaleTranslationProjectsTest.php Tests locale_translation_clear_cache_projects().
locale_post_update_clear_cache_for_old_translations function core/modules/locale/locale.post_update.php Clear cache to ensure plural translations are removed from it.
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 Makes the flood control mechanism forget an event for the current visitor.
MenuLegacyTest::testMenuCacheClearAll function core/tests/Drupal/KernelTests/Core/Menu/MenuLegacyTest.php Tests deprecation of the menu_cache_clear_all() function.
menu_cache_clear_all function core/includes/menu.inc Clears all cached menu data.
MessageCommand::$clearPrevious property core/lib/Drupal/Core/Ajax/MessageCommand.php Whether to clear previous messages.
MetadataBag::clearCsrfTokenSeed function core/lib/Drupal/Core/Session/MetadataBag.php Clear the CSRF token seed.
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 Clears the result to return upon interruption.
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
NewAliasManager::cacheClear function core/modules/path_alias/tests/modules/path_alias_deprecated_test/src/NewAliasManager.php Clear internal caches in alias manager.
NodeSearch::indexClear function core/modules/node/src/Plugin/Search/NodeSearch.php Clears the search index for this plugin.
NodeStorage::clearRevisionsLanguage function core/modules/node/src/NodeStorage.php Unsets the language for all nodes with the given language.
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 Clears all messages from the map.
PerformanceForm::submitCacheClear function core/modules/system/src/Form/PerformanceForm.php Clears the caches.
plugin.cache_clearer service core/core.services.yml Drupal\Core\Plugin\CachedDiscoveryClearer
SearchDeprecationTest::testClear function core/modules/search/tests/src/Kernel/SearchDeprecationTest.php @expectedDeprecation search_index_clear() is deprecated in drupal:8.8.0 and is removed in drupal:9.0.0. Use \Drupal\search\SearchIndex::clear() instead. See https://www.drupal.org/node/3075696
SearchIndex::clear function core/modules/search/src/SearchIndex.php Clears either a part of, or the entire search index.
SearchIndexingInterface::indexClear function core/modules/search/src/Plugin/SearchIndexingInterface.php Clears the search index for this plugin.
SearchIndexInterface::clear function core/modules/search/src/SearchIndexInterface.php Clears either a part of, or the entire search index.
SearchPageRepository::clearDefaultSearchPage function core/modules/search/src/SearchPageRepository.php Clears the default search page.
SearchPageRepositoryInterface::clearDefaultSearchPage function core/modules/search/src/SearchPageRepositoryInterface.php Clears the default search page.
SearchPageRepositoryTest::testClearDefaultSearchPage function core/modules/search/tests/src/Unit/SearchPageRepositoryTest.php Tests the clearDefaultSearchPage() method.
search_index_clear function core/modules/search/search.module Clears either a part of, or the entire search index.
SessionTestController::clearSessionBagFlag function core/modules/system/tests/modules/session_test/src/Controller/SessionTestController.php Clears the test flag from the session test bag.
Sql::clearFields function core/modules/views/src/Plugin/views/query/Sql.php Remove all fields that may've been added; primarily used for summary
mode where we're changing the query because we didn't get data we needed.
Sql::clearMessages function core/modules/migrate/src/Plugin/migrate/id_map/Sql.php Clears all messages from the map.
StubThemeHandler::$clearedCssCache property core/tests/Drupal/Tests/Core/Extension/ThemeHandlerTest.php Whether the CSS cache was cleared.
StubThemeHandler::clearCssCache function core/tests/Drupal/Tests/Core/Extension/ThemeHandlerTest.php
system_post_update_clear_menu_cache function core/modules/system/system.post_update.php Clear the menu cache.
system_post_update_hashes_clear_cache function core/modules/system/system.post_update.php Force caches using hashes to be cleared (Twig, render cache, etc.).
system_post_update_states_clear_cache function core/modules/system/system.post_update.php Force cache clear to ensure aggregated JavaScript files are regenerated.
taxonomy_post_update_clear_entity_bundle_field_definitions_cache function core/modules/taxonomy/taxonomy.post_update.php Clear entity_bundle_field_definitions cache for new parent field settings.
taxonomy_post_update_clear_views_data_cache function core/modules/taxonomy/taxonomy.post_update.php Clear caches due to updated taxonomy entity views data.
TestEntityFieldManager::testClearEntityFieldInfo function core/tests/Drupal/Tests/Core/Entity/EntityFieldManagerTest.php Allows the static caches to be cleared.
TestMigrateExecutable::$clearedMemoryUsage property core/modules/migrate/tests/src/Unit/TestMigrateExecutable.php The cleared memory usage.
TestSessionBag::clear function core/modules/system/tests/modules/session_test/src/Session/TestSessionBag.php

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