Search for clearCache

  1. Search 7.x for clearCache
  2. Search 8.9.x for clearCache
  3. Search 10.3.x for clearCache
  4. Search 11.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.
DefaultPluginManager::clearCachedDefinitions function core/lib/Drupal/Core/Plugin/DefaultPluginManager.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_topics/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.
LibraryDiscoveryInterface::clearCachedDefinitions function core/lib/Drupal/Core/Asset/LibraryDiscoveryInterface.php Clears static and persistent library definition caches.
LocaleTranslationProjectsTest::testLocaleTranslationClearCacheProjects function core/modules/locale/tests/src/Kernel/LocaleTranslationProjectsTest.php Tests locale_translation_clear_cache_projects().
PluginManagerCacheClearer::clearCachedDefinitions function core/modules/system/tests/modules/module_test/src/PluginManagerCacheClearer.php Tests call to CachedDiscoveryInterface::clearCachedDefinitions().
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.

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