You are here

59 calls to Cache::invalidateTags() in Drupal 9

Block::postSave in core/modules/block/src/Entity/Block.php
Acts on a saved entity before the insert or update hook is invoked.
BlockCacheTest::testCachePerRole in core/modules/block/tests/src/Functional/BlockCacheTest.php
Tests "user.roles" cache context.
BlockViewBuilderTest::testBlockViewBuilderViewAlter in core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php
Tests block view altering.
block_install in core/modules/block/block.install
Implements hook_install().
BookManager::deleteFromBook in core/modules/book/src/BookManager.php
Deletes node's entry from book table.
BookManager::saveBookLink in core/modules/book/src/BookManager.php
Saves a single book entry.
BookTest::testBookNavigationCacheContext in core/modules/book/tests/src/Functional/BookTest.php
Tests the book navigation cache context.
CacheCollector::clear in core/lib/Drupal/Core/Cache/CacheCollector.php
Clears the collected cache entry.
CachePluginBase::cacheFlush in core/modules/views/src/Plugin/views/cache/CachePluginBase.php
Clear out cached data for a view.
CacheRouterRebuildSubscriber::onRouterFinished in core/lib/Drupal/Core/EventSubscriber/CacheRouterRebuildSubscriber.php
Comment::postSave in core/modules/comment/src/Entity/Comment.php
Acts on a saved entity before the insert or update hook is invoked.
CommentTest::testCollectionFilterAccess in core/modules/jsonapi/tests/src/Functional/CommentTest.php
Config::delete in core/lib/Drupal/Core/Config/Config.php
Deletes the configuration object.
Config::save in core/lib/Drupal/Core/Config/Config.php
Saves the configuration object.
ConfigEntityBase::invalidateTagsOnDelete in core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php
Override to never invalidate the individual entities' cache tags; the config system already invalidates them.
ConfigEntityBase::invalidateTagsOnSave in core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php
Override to never invalidate the entity's cache tag; the config system already invalidates it.
ConfigFactory::rename in core/lib/Drupal/Core/Config/ConfigFactory.php
Renames a configuration object using the storage.
ConfigurableLanguageManagerTest::setUp in core/modules/language/tests/src/Functional/ConfigurableLanguageManagerTest.php
ContactLinkTest::testContactLink in core/modules/contact/tests/src/Functional/Views/ContactLinkTest.php
Tests contact link.
ContentEntityStorageBase::resetCache in core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php
Resets the entity cache.
DatabaseBackendTagTest::testTagInvalidations in core/tests/Drupal/KernelTests/Core/Cache/DatabaseBackendTagTest.php
DefaultPluginManager::clearCachedDefinitions in core/lib/Drupal/Core/Plugin/DefaultPluginManager.php
Clears static and persistent plugin definition caches.
EndOfTransactionQueriesTest::setUp in core/tests/Drupal/KernelTests/Core/Cache/EndOfTransactionQueriesTest.php
EntityBase::invalidateTagsOnDelete in core/lib/Drupal/Core/Entity/EntityBase.php
Invalidates an entity's cache tags upon delete.
EntityBase::invalidateTagsOnSave in core/lib/Drupal/Core/Entity/EntityBase.php
Invalidates an entity's cache tags upon save.
EntityCacheTagsTestBase::testReferencedEntity in core/modules/system/tests/src/Functional/Entity/EntityCacheTagsTestBase.php
Tests cache tags presence and invalidation of the entity when referenced.
EntityFieldManager::clearCachedFieldDefinitions in core/lib/Drupal/Core/Entity/EntityFieldManager.php
Clears static and persistent field definition caches.
EntityTypeBundleInfo::clearCachedBundles in core/lib/Drupal/Core/Entity/EntityTypeBundleInfo.php
Clears static and persistent bundles.
EntityViewBuilder::resetCache in core/lib/Drupal/Core/Entity/EntityViewBuilder.php
Resets the entity render cache.
EntityWithUriCacheTagsTestBase::testEntityUri in core/modules/system/tests/src/Functional/Entity/EntityWithUriCacheTagsTestBase.php
Tests cache tags presence and invalidation of the entity at its URI.
field_layout_install in core/modules/field_layout/field_layout.install
Implements hook_install().
field_layout_uninstall in core/modules/field_layout/field_layout.install
Implements hook_uninstall().
GenericCacheBackendUnitTestBase::testInvalidateTags in core/tests/Drupal/KernelTests/Core/Cache/GenericCacheBackendUnitTestBase.php
Tests Drupal\Core\Cache\CacheBackendInterface::invalidateTags().
hook_views_invalidate_cache in core/modules/views/views.api.php
Allow modules to respond to the invalidation of the Views cache.
ImageStyle::flush in core/modules/image/src/Entity/ImageStyle.php
Flushes cached media for this style.
Item::postSave in core/modules/aggregator/src/Entity/Item.php
Acts on a saved entity before the insert or update hook is invoked.
LanguageConfigOverride::delete in core/modules/language/src/Config/LanguageConfigOverride.php
Deletes the configuration object.
LanguageConfigOverride::save in core/modules/language/src/Config/LanguageConfigOverride.php
Saves the configuration object.
LanguageUILanguageNegotiationTest::doRunTest in core/modules/language/tests/src/Functional/LanguageUILanguageNegotiationTest.php
layout_builder_install in core/modules/layout_builder/layout_builder.install
Implements hook_install().
MenuRouterRebuildSubscriber::onRouterRebuild in core/lib/Drupal/Core/EventSubscriber/MenuRouterRebuildSubscriber.php
Rebuilds the menu links and deletes the local_task cache tag.
NodeEntityViewModeAlterTest::testNodeViewModeChange in core/modules/node/tests/src/Functional/NodeEntityViewModeAlterTest.php
Create a "Basic page" node and verify its consistency in the database.
PageCacheTest::testFormImmutability in core/modules/page_cache/tests/src/Functional/PageCacheTest.php
Tests the setting of forms to be immutable.
PageCacheTest::testPageCacheTags in core/modules/page_cache/tests/src/Functional/PageCacheTest.php
Tests that cache tags are properly persisted.
PageCacheTest::testPageCacheTagsIndependentFromCacheabilityHeaders in core/modules/page_cache/tests/src/Functional/PageCacheTest.php
Tests that the page cache doesn't depend on cacheability headers.
PathAliasTest::testPathCache in core/modules/path/tests/src/Functional/PathAliasTest.php
Tests the path cache.
Registry::reset in core/lib/Drupal/Core/Theme/Registry.php
Invalidates theme registry caches.
ResourceObjectNormalizerCacherTest::testLinkNormalizationCacheability in core/modules/jsonapi/tests/src/Kernel/EventSubscriber/ResourceObjectNormalizerCacherTest.php
Tests that link normalization cache information is not lost.
ResourceTypeRepositoryTest::testResourceTypeDisabling in core/modules/jsonapi/tests/src/Kernel/ResourceType/ResourceTypeRepositoryTest.php
Tests that resource types can be disabled by a build subscriber.
ResourceTypeRepositoryTest::testResourceTypeFieldAliasing in core/modules/jsonapi/tests/src/Kernel/ResourceType/ResourceTypeRepositoryTest.php
Tests that resource type fields can be aliased per resource type.
ResourceTypeRepositoryTest::testResourceTypeFieldDisabling in core/modules/jsonapi/tests/src/Kernel/ResourceType/ResourceTypeRepositoryTest.php
Tests that resource type fields can be disabled per resource type.
ResourceTypeRepositoryTest::testResourceTypeRenaming in core/modules/jsonapi/tests/src/Kernel/ResourceType/ResourceTypeRepositoryTest.php
Tests that resource types can be renamed.
settings_tray_install in core/modules/settings_tray/settings_tray.install
Implements hook_install().
Shortcut::postSave in core/modules/shortcut/src/Entity/Shortcut.php
Acts on a saved entity before the insert or update hook is invoked.
system_module_test_install in core/modules/system/tests/modules/system_module_test/system_module_test.install
Implements hook_install().
ThemeInstaller::resetSystem in core/lib/Drupal/Core/Extension/ThemeInstaller.php
Resets some other systems like rebuilding the route information or caches.
TrackerTest::testTrackerUser in core/modules/tracker/tests/src/Functional/TrackerTest.php
Tests for the presence of nodes on a user's tracker listing.
UserEditTest::testUserEdit in core/modules/user/tests/src/Functional/UserEditTest.php
Tests user edit page.
ViewsData::clear in core/modules/views/src/ViewsData.php
Clears the class storage and cache.