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 Clears static and persistent plugin definition caches.
CachedDiscoveryClearer::clearCachedDefinitions function core/lib/Drupal/Core/Plugin/CachedDiscoveryClearer.php Clears the cache on all cached discoveries.
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 Indicates whether the block should be shown.
ClearCacheBlock::build function core/modules/system/src/Plugin/Block/ClearCacheBlock.php Builds and returns the renderable array for this block plugin.
ClearCacheBlock::create function core/modules/system/src/Plugin/Block/ClearCacheBlock.php Creates an instance of the plugin.
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 The theme to install as the default for testing.
ClearCacheBlockTest::$modules property core/modules/system/tests/src/Functional/Block/ClearCacheBlockTest.php Modules to install.
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 Form constructor.
ClearCacheForm::getFormId function core/modules/system/src/Form/ClearCacheForm.php Returns a unique string identifying the form.
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 Clears static and persistent plugin definition caches.
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 Clears static and persistent plugin definition caches.
ContextualLinkManager::clearCachedDefinitions function core/lib/Drupal/Core/Menu/ContextualLinkManager.php Clears static and persistent plugin definition caches.
DefaultPluginManager::clearCachedDefinitions function core/lib/Drupal/Core/Plugin/DefaultPluginManager.php Clears static and persistent plugin definition caches.
DerivativeDiscoveryDecorator::clearCachedDefinitions function core/lib/Drupal/Component/Plugin/Discovery/DerivativeDiscoveryDecorator.php Clears static and persistent plugin definition caches.
ElementInfoManager::clearCachedDefinitions function core/lib/Drupal/Core/Render/ElementInfoManager.php Clears static and persistent plugin definition caches.
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 Clears static and persistent field definition caches.
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 Clears static and persistent bundles.
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 Clears static and persistent plugin definition caches.
HelpSectionManager::clearCachedDefinitions function core/modules/help/src/HelpSectionManager.php Clears static and persistent plugin definition caches.
LibraryDiscovery::clearCachedDefinitions function core/lib/Drupal/Core/Asset/LibraryDiscovery.php Clears static and persistent library definition caches.
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 Clears static and persistent plugin definition caches.
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.