Search for clearCache

  1. Search 7.x for clearCache
  2. Search 9.5.x for clearCache
  3. Search 8.9.x for clearCache
  4. Search 10.3.x for clearCache
  5. Other projects
Title Object type File name Summary
BreakpointManager::clearCachedDefinitions function core/modules/breakpoint/src/BreakpointManager.php
CachedDiscoveryClearer::clearCachedDefinitions function core/lib/Drupal/Core/Plugin/CachedDiscoveryClearer.php
CachedDiscoveryClearer::clearCachedDefinitions function core/lib/Drupal/Core/ProxyClass/Plugin/CachedDiscoveryClearer.php Clears the cache on all cached discoveries.
CachedDiscoveryClearerInterface::clearCachedDefinitions function core/lib/Drupal/Core/Plugin/CachedDiscoveryClearerInterface.php Clears the cache on all cached discoveries.
CachedDiscoveryInterface::clearCachedDefinitions function core/lib/Drupal/Component/Plugin/Discovery/CachedDiscoveryInterface.php Clears static and persistent plugin definition caches.
ClearCacheBlock class core/modules/system/src/Plugin/Block/ClearCacheBlock.php Provides a block to display 'Clear cache' elements.
ClearCacheBlock.php file core/modules/system/src/Plugin/Block/ClearCacheBlock.php
ClearCacheBlock::blockAccess function core/modules/system/src/Plugin/Block/ClearCacheBlock.php
ClearCacheBlock::build function core/modules/system/src/Plugin/Block/ClearCacheBlock.php
ClearCacheBlock::create function core/modules/system/src/Plugin/Block/ClearCacheBlock.php
ClearCacheBlock::__construct function core/modules/system/src/Plugin/Block/ClearCacheBlock.php Creates a ClearCacheBlock instance.
ClearCacheBlockTest class core/modules/system/tests/src/Functional/Block/ClearCacheBlockTest.php Tests clear cache block behavior.
ClearCacheBlockTest.php file core/modules/system/tests/src/Functional/Block/ClearCacheBlockTest.php
ClearCacheBlockTest::$clearCacheBlock property core/modules/system/tests/src/Functional/Block/ClearCacheBlockTest.php The clear cache block instance.
ClearCacheBlockTest::$defaultTheme property core/modules/system/tests/src/Functional/Block/ClearCacheBlockTest.php
ClearCacheBlockTest::$modules property core/modules/system/tests/src/Functional/Block/ClearCacheBlockTest.php
ClearCacheBlockTest::setUp function core/modules/system/tests/src/Functional/Block/ClearCacheBlockTest.php
ClearCacheBlockTest::testCacheClearBlock function core/modules/system/tests/src/Functional/Block/ClearCacheBlockTest.php Tests block behavior and access based on permissions.
ClearCacheForm class core/modules/system/src/Form/ClearCacheForm.php Clear caches for this site.
ClearCacheForm.php file core/modules/system/src/Form/ClearCacheForm.php
ClearCacheForm::buildForm function core/modules/system/src/Form/ClearCacheForm.php
ClearCacheForm::getFormId function core/modules/system/src/Form/ClearCacheForm.php
ClearCacheForm::submitForm function core/modules/system/src/Form/ClearCacheForm.php Clears the caches.
ComponentNegotiator::clearCache function core/lib/Drupal/Core/Theme/ComponentNegotiator.php Clears the negotiation cache.
ComponentNegotiator::clearCache function core/modules/sdc/src/ComponentNegotiator.php Clears the negotiation cache.
ComponentPluginManager::clearCachedDefinitions function core/lib/Drupal/Core/Theme/ComponentPluginManager.php
ComponentPluginManager::clearCachedDefinitions function core/modules/sdc/src/ComponentPluginManager.php Clears static and persistent plugin definition caches.
ConfigMapperManager::clearCachedDefinitions function core/modules/config_translation/src/ConfigMapperManager.php
ContextualLinkManager::clearCachedDefinitions function core/lib/Drupal/Core/Menu/ContextualLinkManager.php
DefaultPluginManager::clearCachedDefinitions function core/lib/Drupal/Core/Plugin/DefaultPluginManager.php
DerivativeDiscoveryDecorator::clearCachedDefinitions function core/lib/Drupal/Component/Plugin/Discovery/DerivativeDiscoveryDecorator.php
ElementInfoManager::clearCachedDefinitions function core/lib/Drupal/Core/Render/ElementInfoManager.php
EntityDefinitionUpdateManager::clearCachedDefinitions function core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManager.php Clears necessary caches to apply entity/field definition updates.
EntityFieldManager::clearCachedFieldDefinitions function core/lib/Drupal/Core/Entity/EntityFieldManager.php
EntityFieldManagerInterface::clearCachedFieldDefinitions function core/lib/Drupal/Core/Entity/EntityFieldManagerInterface.php Clears static and persistent field definition caches.
EntityFieldManagerTest::testClearCachedFieldDefinitions function core/tests/Drupal/Tests/Core/Entity/EntityFieldManagerTest.php Tests the clearCachedFieldDefinitions() method.
EntityTypeBundleInfo::clearCachedBundles function core/lib/Drupal/Core/Entity/EntityTypeBundleInfo.php
EntityTypeBundleInfoInterface::clearCachedBundles function core/lib/Drupal/Core/Entity/EntityTypeBundleInfoInterface.php Clears static and persistent bundles.
EntityTypeBundleInfoTest::testClearCachedBundles function core/tests/Drupal/Tests/Core/Entity/EntityTypeBundleInfoTest.php Tests the clearCachedBundles() method.
EntityTypeListener::clearCachedDefinitions function core/lib/Drupal/Core/Entity/EntityTypeListener.php Clears necessary caches to apply entity/field definition updates.
EntityTypeManager::clearCachedDefinitions function core/lib/Drupal/Core/Entity/EntityTypeManager.php
HelpSectionManager::clearCachedDefinitions function core/modules/help/src/HelpSectionManager.php
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().
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.
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.