Search for clear

  1. Search 7.x for clear
  2. Search 8.9.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
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.
migrate_post_update_clear_migrate_source_count_cache function core/modules/migrate/migrate.post_update.php Clear the source count cache.
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 Clears the static caches in alias manager and rebuilds the whitelist.
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
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().
PluginManagerCacheClearer::__construct function core/modules/system/tests/modules/module_test/src/PluginManagerCacheClearer.php PluginManagerCacheClearer constructor.
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.
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 Removes all fields that may have been added.
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
taxonomy_post_update_clear_views_argument_validator_plugins_cache function core/modules/taxonomy/taxonomy.post_update.php Clear the cache after deprecating Term views argument validator.
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
TestSessionBag::clearFlag function core/modules/system/tests/modules/session_test/src/Session/TestSessionBag.php Clears the test flag.
ThemeTest::testThemeSettingsRenderCacheClear function core/modules/system/tests/src/Functional/System/ThemeTest.php Tests the 'rendered' cache tag is cleared when saving theme settings.
TokenReplaceKernelTest::testClear function core/modules/system/tests/src/Kernel/Token/TokenReplaceKernelTest.php Tests the clear parameter.
ToolbarAdminMenuTest::testLocaleTranslationSubtreesHashCacheClear function core/modules/toolbar/tests/src/Functional/ToolbarAdminMenuTest.php Tests that toolbar cache is cleared when string translations are made.
ToolbarAdminMenuTest::testMenuLinkUpdateSubtreesHashCacheClear function core/modules/toolbar/tests/src/Functional/ToolbarAdminMenuTest.php Tests toolbar cache tags implementation.
ToolbarAdminMenuTest::testModuleStatusChangeSubtreesHashCacheClear function core/modules/toolbar/tests/src/Functional/ToolbarAdminMenuTest.php Tests Toolbar's responses to installing and uninstalling modules.
ToolbarAdminMenuTest::testUserRoleUpdateSubtreesHashCacheClear function core/modules/toolbar/tests/src/Functional/ToolbarAdminMenuTest.php Tests Toolbar's responses to user data updates.
TranslatableFieldTest::testSectionsClearedOnCreateTranslation function core/modules/layout_builder/tests/src/Kernel/TranslatableFieldTest.php Tests that sections on cleared when creating a new translation.
TypedConfigManager::clearCachedDefinitions function core/lib/Drupal/Core/Config/TypedConfigManager.php Clears static and persistent plugin definition caches.
TypedDataManager::clearCachedDefinitions function core/lib/Drupal/Core/TypedData/TypedDataManager.php Clears static and persistent plugin definition caches.
UninstallKernelTest::testUninstallPluginCacheClear function core/modules/system/tests/src/Kernel/Installer/UninstallKernelTest.php Tests uninstalling a module with a plugin cache clearer service.
UpdateSemverCoreTest::testClearDiskCache function core/modules/update/tests/src/Functional/UpdateSemverCoreTest.php Checks that clearing the disk cache works.
update_clear_update_disk_cache function core/modules/update/update.module Clears the temporary files and directories based on file age from disk.
update_storage_clear function core/modules/update/update.module Invalidates stored data relating to update status.
UserFloodControl::clear function core/modules/user/src/UserFloodControl.php
UserPasswordResetTest::testUserResetPasswordUserFloodControlIsCleared function core/modules/user/tests/src/Functional/UserPasswordResetTest.php Tests user password reset flood control is cleared on successful reset.

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