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
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 the toolbar_modules_installed() and toolbar_modules_uninstalled() hook
implementations.
ToolbarAdminMenuTest::testUserRoleUpdateSubtreesHashCacheClear function core/modules/toolbar/tests/src/Functional/ToolbarAdminMenuTest.php Exercises the toolbar_user_role_update() and toolbar_user_update() hook
implementations.
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.
UpdateCoreTest::testClearDiskCache function core/modules/update/tests/src/Functional/UpdateCoreTest.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.
update_storage_clear_submit function core/modules/update/update.module Form submission handler for system_modules().
UserPasswordResetTest::testUserResetPasswordUserFloodControlIsCleared function core/modules/user/tests/src/Functional/UserPasswordResetTest.php Tests user password reset flood control is cleared on successful reset.
ViewsData::clear function core/modules/views/src/ViewsData.php Clears the class storage and cache.
workspaces_post_update_access_clear_caches function core/modules/workspaces/workspaces.post_update.php Clear caches due to access changes.
_update_authorize_clear_update_status function core/modules/update/update.authorize.inc Clears available update status data.

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