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. Search 11.x for clear
  6. Other projects
Title Object type File name Summary
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.
StageFixtureManipulator::clearQueuedManipulationItems function core/modules/package_manager/tests/modules/fixture_manipulator/src/StageFixtureManipulator.php Clears all queued manipulation items.
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
TestEntityFieldManager::testClearEntityFieldInfo function core/tests/Drupal/Tests/Core/Entity/EntityFieldManagerTest.php Allows the static caches to be cleared.
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.
UpdateDataSubscriber::clearData function core/modules/package_manager/src/EventSubscriber/UpdateDataSubscriber.php Clears stale update data.
update_post_update_clear_disk_cache function core/modules/update/update.post_update.php Removes the legacy 'Update Manager' disk cache.
update_post_update_clear_disk_cache_again function core/modules/update/update.post_update.php Removes the legacy 'Update Manager' disk cache (again).
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 Makes the flood control mechanism forget an event for the current visitor.
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.
ViewsDataTest::testClearResetsFullyLoaded function core/modules/views/tests/src/Unit/ViewsDataTest.php Tests that clear() resets the fullyLoaded property.

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