72 calls to Cache::mergeTags() in Drupal 8
- AggregatorFeedBlock::getCacheTags in core/
modules/ aggregator/ src/ Plugin/ Block/ AggregatorFeedBlock.php - The cache tags associated with this object.
- ArgumentPluginBase::getCacheTags in core/
modules/ views/ src/ Plugin/ views/ argument/ ArgumentPluginBase.php - The cache tags associated with this object.
- AssertPageCacheContextsAndTagsTrait::assertCacheTags in core/
modules/ system/ src/ Tests/ Cache/ AssertPageCacheContextsAndTagsTrait.php - Ensures that some cache tags are present in the current response.
- AssertPageCacheContextsAndTagsTrait::assertCacheTags in core/
modules/ system/ tests/ src/ Functional/ Cache/ AssertPageCacheContextsAndTagsTrait.php - Ensures that some cache tags are present in the current response.
- BlockContentCacheTagsTest::testBlock in core/
modules/ block_content/ tests/ src/ Functional/ BlockContentCacheTagsTest.php - Tests that the block is cached with the correct contexts and tags.
- BlockContentHalJsonAnonTest::getExpectedCacheContexts in core/
modules/ block_content/ tests/ src/ Functional/ Hal/ BlockContentHalJsonAnonTest.php - The expected cache contexts for the GET/HEAD response of the test entity.
- BlockContentResourceTestBase::getExpectedCacheTags in core/
modules/ block_content/ tests/ src/ Functional/ Rest/ BlockContentResourceTestBase.php - The expected cache tags for the GET/HEAD response of the test entity.
- BlockContentTest::getExpectedCacheTags in core/
modules/ jsonapi/ tests/ src/ Functional/ BlockContentTest.php - The expected cache tags for the GET/HEAD response of the test entity.
- BlockViewBuilder::viewMultiple in core/
modules/ block/ src/ BlockViewBuilder.php - Builds the render array for the provided entities.
- BlockViewBuilderTest::assertBlockRenderedWithExpectedCacheability in core/
modules/ block/ tests/ src/ Kernel/ BlockViewBuilderTest.php - Asserts that a block is built/rendered/cached with expected cacheability.
- BlockViewBuilderTest::testBlockViewBuilderBuildAlter in core/
modules/ block/ tests/ src/ Kernel/ BlockViewBuilderTest.php - Tests block build altering.
- block_test_block_build_test_cache_alter in core/
modules/ block/ tests/ modules/ block_test/ block_test.module - Implements hook_block_build_BASE_BLOCK_ID_alter().
- CacheableMetadata::merge in core/
lib/ Drupal/ Core/ Cache/ CacheableMetadata.php - Merges the values of another CacheableMetadata object with this one.
- CachePluginBase::getCacheTags in core/
modules/ views/ src/ Plugin/ views/ cache/ CachePluginBase.php - Gets an array of cache tags for the current view.
- CachePluginBase::getRowCacheTags in core/
modules/ views/ src/ Plugin/ views/ cache/ CachePluginBase.php - Returns the row cache tags.
- CacheTagsChecksumTrait::invalidateTags in core/
lib/ Drupal/ Core/ Cache/ CacheTagsChecksumTrait.php - Implements \Drupal\Core\Cache\CacheTagsChecksumInterface::invalidateTags()
- CacheTest::testMergeTags in core/
tests/ Drupal/ Tests/ Core/ Cache/ CacheTest.php - @covers ::mergeTags
- CommentResourceTestBase::getExpectedCacheTags in core/
modules/ comment/ tests/ src/ Functional/ Rest/ CommentResourceTestBase.php - The expected cache tags for the GET/HEAD response of the test entity.
- CommentRssTest::testCommentRss in core/
modules/ comment/ tests/ src/ Functional/ CommentRssTest.php - Tests comments as part of an RSS feed.
- CommentTest::getExpectedCacheTags in core/
modules/ jsonapi/ tests/ src/ Functional/ CommentTest.php - The expected cache tags for the GET/HEAD response of the test entity.
- ConfigBase::getCacheTags in core/
lib/ Drupal/ Core/ Config/ ConfigBase.php - The cache tags associated with this 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.
- ContextAwarePluginBase::getCacheTags in core/
lib/ Drupal/ Core/ Plugin/ ContextAwarePluginBase.php - The cache tags associated with this object.
- EditorFileReferenceFilterTest::testEditorFileReferenceFilter in core/
modules/ editor/ tests/ src/ Kernel/ EditorFileReferenceFilterTest.php - Tests the editor file reference filter.
- EntityBase::getCacheTags in core/
lib/ Drupal/ Core/ Entity/ EntityBase.php - The cache tags associated with this object.
- 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/ src/ Tests/ Entity/ EntityCacheTagsTestBase.php - Tests cache tags presence and invalidation of the entity when referenced.
- EntityCacheTagsTestBase::testReferencedEntity in core/
modules/ system/ tests/ src/ Functional/ Entity/ EntityCacheTagsTestBase.php - Tests cache tags presence and invalidation of the entity when referenced.
- EntityField::getCacheTags in core/
modules/ views/ src/ Plugin/ views/ field/ EntityField.php - The cache tags associated with this object.
- EntityReferenceFormatterTest::testEntityFormatter in core/
modules/ field/ tests/ src/ Kernel/ EntityReference/ EntityReferenceFormatterTest.php - Tests the entity formatter.
- EntityResourceTestBase::getExpectedCacheTags in core/
modules/ rest/ tests/ src/ Functional/ EntityResource/ EntityResourceTestBase.php - The expected cache tags for the GET/HEAD response of the test entity.
- EntityResourceTestBase::testGet in core/
modules/ rest/ tests/ src/ Functional/ EntityResource/ EntityResourceTestBase.php - Test a GET request for an entity, plus edge cases to ensure good DX.
- EntityTestController::listEntitiesAlphabetically in core/
modules/ system/ tests/ modules/ entity_test/ src/ Controller/ EntityTestController.php - List entities of the given entity type labels, sorted alphabetically.
- EntityTestHalJsonInternalPropertyNormalizerTest::getExpectedCacheTags in core/
modules/ system/ tests/ modules/ entity_test/ tests/ src/ Functional/ Hal/ EntityTestHalJsonInternalPropertyNormalizerTest.php - The expected cache tags for the GET/HEAD response of the test entity.
- EntityTestJsonInternalPropertyNormalizerTest::getExpectedCacheTags in core/
modules/ system/ tests/ modules/ entity_test/ tests/ src/ Functional/ Rest/ EntityTestJsonInternalPropertyNormalizerTest.php - The expected cache tags for the GET/HEAD response of the test entity.
- EntityTestTextItemNormalizerTest::getExpectedCacheTags in core/
modules/ system/ tests/ modules/ entity_test/ tests/ src/ Functional/ Rest/ EntityTestTextItemNormalizerTest.php - The expected cache tags for the GET/HEAD response of the test entity.
- EntityTestTextItemNormalizerTest::testGetWithFormat in core/
modules/ system/ tests/ modules/ entity_test/ tests/ src/ Functional/ Rest/ EntityTestTextItemNormalizerTest.php - Tests GETting an entity with the test text field set to a specific format.
- EntityViewBuilder::getBuildDefaults in core/
lib/ Drupal/ Core/ Entity/ EntityViewBuilder.php - Provides entity-specific defaults to the build process.
- EntityViewBuilder::resetCache in core/
lib/ Drupal/ Core/ Entity/ EntityViewBuilder.php - Resets the entity render cache.
- EntityWithUriCacheTagsTestBase::testEntityUri in core/
modules/ system/ src/ Tests/ Entity/ EntityWithUriCacheTagsTestBase.php - Tests cache tags presence and invalidation of the entity at its URI.
- EntityWithUriCacheTagsTestBase::testEntityUri in core/
modules/ system/ tests/ src/ Functional/ Entity/ EntityWithUriCacheTagsTestBase.php - Tests cache tags presence and invalidation of the entity at its URI.
- FileHalJsonAnonTest::getExpectedCacheTags in core/
modules/ file/ tests/ src/ Functional/ Hal/ FileHalJsonAnonTest.php - The expected cache tags for the GET/HEAD response of the test entity.
- FileMediaFormatterBase::viewElements in core/
modules/ file/ src/ Plugin/ Field/ FieldFormatter/ FileMediaFormatterBase.php - Builds a renderable array for a field value.
- ForumBlockBase::getCacheTags in core/
modules/ forum/ src/ Plugin/ Block/ ForumBlockBase.php - The cache tags associated with this object.
- ForumController::build in core/
modules/ forum/ src/ Controller/ ForumController.php - Returns a renderable forum index page array.
- FrontPageTest::doTestFrontPageViewCacheTags in core/
modules/ node/ tests/ src/ Functional/ Views/ FrontPageTest.php - Tests the cache tags on the front page.
- ImageFormatter::viewElements in core/
modules/ image/ src/ Plugin/ Field/ FieldFormatter/ ImageFormatter.php - Builds a renderable array for a field value.
- MediaHalJsonAnonTest::getExpectedCacheTags in core/
modules/ media/ tests/ src/ Functional/ Hal/ MediaHalJsonAnonTest.php - The expected cache tags for the GET/HEAD response of the test entity.
- MenuLinkContentHalJsonAnonTest::getExpectedCacheContexts in core/
modules/ menu_link_content/ tests/ src/ Functional/ Hal/ MenuLinkContentHalJsonAnonTest.php - The expected cache contexts for the GET/HEAD response of the test entity.
- ModerationStateFilter::getCacheTags in core/
modules/ content_moderation/ src/ Plugin/ views/ filter/ ModerationStateFilter.php - The cache tags associated with this object.
- node_title_list in core/
modules/ node/ node.module - Gathers a listing of links to nodes.
- ProcessedText::preRenderText in core/
modules/ filter/ src/ Element/ ProcessedText.php - Pre-render callback: Renders a processed text element into #markup.
- RefinableCacheableDependencyTrait::addCacheTags in core/
lib/ Drupal/ Core/ Cache/ RefinableCacheableDependencyTrait.php - RenderCache::set in core/
lib/ Drupal/ Core/ Render/ RenderCache.php - Caches the rendered output of a renderable array.
- RenderCacheIntegrationTest::assertCacheTagsForEntityBasedView in core/
modules/ views/ tests/ src/ Kernel/ RenderCacheIntegrationTest.php - Tests cache tags on output & result cache items for an entity-based view.
- RenderCacheIntegrationTest::assertCacheTagsForFieldBasedView in core/
modules/ views/ tests/ src/ Kernel/ RenderCacheIntegrationTest.php - Tests cache tags on output & result cache items for a field-based view.
- RendererTest::testRenderCache in core/
tests/ Drupal/ Tests/ Core/ Render/ RendererTest.php - @covers ::render @covers ::doRender @covers \Drupal\Core\Render\RenderCache::get @covers \Drupal\Core\Render\RenderCache::set @covers \Drupal\Core\Render\RenderCache::createCacheID
- RendererTestBase::assertRenderCacheItem in core/
tests/ Drupal/ Tests/ Core/ Render/ RendererTestBase.php - Asserts a render cache item.
- ResourceTestBase::getExpectedCacheTags in core/
modules/ jsonapi/ tests/ src/ Functional/ ResourceTestBase.php - The expected cache tags for the GET/HEAD response of the test entity.
- ResourceTestBase::testRevisions in core/
modules/ jsonapi/ tests/ src/ Functional/ ResourceTestBase.php - Tests individual and collection revisions.
- ResponsiveImageFormatter::viewElements in core/
modules/ responsive_image/ src/ Plugin/ Field/ FieldFormatter/ ResponsiveImageFormatter.php - Builds a renderable array for a field value.
- SearchPageCacheTagsTest::testSearchTagsBubbling in core/
modules/ search/ tests/ src/ Functional/ SearchPageCacheTagsTest.php - Tests the presence of expected cache tags with referenced entities.
- shortcut_renderable_links in core/
modules/ shortcut/ shortcut.module - Returns an array of shortcut links, suitable for rendering.
- Sql::getCacheTags in core/
modules/ views/ src/ Plugin/ views/ query/ Sql.php - The cache tags associated with this object.
- StatisticsReportsTest::testPopularContentBlock in core/
modules/ statistics/ tests/ src/ Functional/ StatisticsReportsTest.php - Tests the "popular content" block.
- StyleSerializerTest::testSerializerResponses in core/
modules/ rest/ tests/ src/ Functional/ Views/ StyleSerializerTest.php - Checks the behavior of the Serializer callback paths and row plugins.
- SystemBrandingBlock::getCacheTags in core/
modules/ system/ src/ Plugin/ Block/ SystemBrandingBlock.php - The cache tags associated with this object.
- TermResourceTestBase::getExpectedCacheTags in core/
modules/ taxonomy/ tests/ src/ Functional/ Rest/ TermResourceTestBase.php - The expected cache tags for the GET/HEAD response of the test entity.
- TermTest::getExpectedCacheTags in core/
modules/ jsonapi/ tests/ src/ Functional/ TermTest.php - The expected cache tags for the GET/HEAD response of the test entity.
- TrackerTest::testTrackerAll in core/
modules/ tracker/ tests/ src/ Functional/ TrackerTest.php - Tests for the presence of nodes on the global tracker listing.
- TrackerTest::testTrackerUser in core/
modules/ tracker/ tests/ src/ Functional/ TrackerTest.php - Tests for the presence of nodes on a user's tracker listing.