87 files declare their use of CacheableMetadata
- AccessPolicyProcessor.php in core/
lib/ Drupal/ Core/ Session/ AccessPolicyProcessor.php - AccessPolicyProcessorTest.php in core/
tests/ Drupal/ Tests/ Core/ Session/ AccessPolicyProcessorTest.php - AnonymousUserResponseSubscriber.php in core/
lib/ Drupal/ Core/ EventSubscriber/ AnonymousUserResponseSubscriber.php - BasicAuth.php in core/
modules/ basic_auth/ src/ Authentication/ Provider/ BasicAuth.php - BigPipeController.php in core/
modules/ big_pipe/ src/ Controller/ BigPipeController.php - BlockPageVariant.php in core/
modules/ block/ src/ Plugin/ DisplayVariant/ BlockPageVariant.php - BlockPageVariantTest.php in core/
modules/ block/ tests/ src/ Unit/ Plugin/ DisplayVariant/ BlockPageVariantTest.php - BlockRepository.php in core/
modules/ block/ src/ BlockRepository.php - BlockResourceTestBase.php in core/
modules/ block/ tests/ src/ Functional/ Rest/ BlockResourceTestBase.php - BlockViewBuilder.php in core/
modules/ block/ src/ BlockViewBuilder.php - BlockViewBuilderTest.php in core/
modules/ block/ tests/ src/ Kernel/ BlockViewBuilderTest.php - BubbleableMetadata.php in core/
lib/ Drupal/ Core/ Render/ BubbleableMetadata.php - BubbleableMetadataTest.php in core/
tests/ Drupal/ Tests/ Core/ Render/ BubbleableMetadataTest.php - CacheableExceptionTest.php in core/
tests/ Drupal/ Tests/ Core/ Http/ CacheableExceptionTest.php - CacheableMetadataTest.php in core/
tests/ Drupal/ Tests/ Core/ Cache/ CacheableMetadataTest.php - CacheContextsManager.php in core/
lib/ Drupal/ Core/ Cache/ Context/ CacheContextsManager.php - CacheContextsManagerTest.php in core/
tests/ Drupal/ Tests/ Core/ Cache/ Context/ CacheContextsManagerTest.php - ClientErrorResponseSubscriber.php in core/
lib/ Drupal/ Core/ EventSubscriber/ ClientErrorResponseSubscriber.php - ComputedTestCacheableIntegerItemList.php in core/
modules/ system/ tests/ modules/ entity_test/ src/ Plugin/ Field/ ComputedTestCacheableIntegerItemList.php - ConfigEntityStorage.php in core/
lib/ Drupal/ Core/ Config/ Entity/ ConfigEntityStorage.php - ConfigOverride.php in core/
lib/ Drupal/ Core/ Installer/ ConfigOverride.php - Context.php in core/
lib/ Drupal/ Core/ Plugin/ Context/ Context.php - ContextCacheKeys.php in core/
lib/ Drupal/ Core/ Cache/ Context/ ContextCacheKeys.php - CookiesCacheContext.php in core/
lib/ Drupal/ Core/ Cache/ Context/ CookiesCacheContext.php - CurrentLanguageContext.php in core/
lib/ Drupal/ Core/ Language/ ContextProvider/ CurrentLanguageContext.php - CurrentUserContext.php in core/
modules/ user/ src/ ContextProvider/ CurrentUserContext.php - DateTest.php in core/
tests/ Drupal/ Tests/ Core/ Datetime/ DateTest.php - DbLogResourceTest.php in core/
modules/ dblog/ tests/ src/ Functional/ DbLogResourceTest.php - EntityReferenceFormatterBase.php in core/
lib/ Drupal/ Core/ Field/ Plugin/ Field/ FieldFormatter/ EntityReferenceFormatterBase.php - ExceptionJsonSubscriberTest.php in core/
tests/ Drupal/ Tests/ Core/ EventSubscriber/ ExceptionJsonSubscriberTest.php - Fast404ExceptionHtmlSubscriber.php in core/
lib/ Drupal/ Core/ EventSubscriber/ Fast404ExceptionHtmlSubscriber.php - FormatterBase.php in core/
lib/ Drupal/ Core/ Field/ FormatterBase.php - HeadersCacheContext.php in core/
lib/ Drupal/ Core/ Cache/ Context/ HeadersCacheContext.php - HelpTopicSection.php in core/
modules/ help/ src/ Plugin/ HelpSection/ HelpTopicSection.php - HtmlResponse.php in core/
lib/ Drupal/ Core/ Render/ HtmlResponse.php - ImageUrlFormatter.php in core/
modules/ image/ src/ Plugin/ Field/ FieldFormatter/ ImageUrlFormatter.php - IpCacheContext.php in core/
lib/ Drupal/ Core/ Cache/ Context/ IpCacheContext.php - IsFrontPathCacheContext.php in core/
lib/ Drupal/ Core/ Cache/ Context/ IsFrontPathCacheContext.php - IsSuperUserCacheContext.php in core/
lib/ Drupal/ Core/ Cache/ Context/ IsSuperUserCacheContext.php - LanguagesCacheContext.php in core/
lib/ Drupal/ Core/ Cache/ Context/ LanguagesCacheContext.php - LinksetController.php in core/
modules/ system/ src/ Controller/ LinksetController.php - LinksetControllerTest.php in core/
modules/ system/ tests/ src/ Functional/ Menu/ LinksetControllerTest.php - LocalActionManager.php in core/
lib/ Drupal/ Core/ Menu/ LocalActionManager.php - LocalTaskManager.php in core/
lib/ Drupal/ Core/ Menu/ LocalTaskManager.php - LocalTaskManagerTest.php in core/
tests/ Drupal/ Tests/ Core/ Menu/ LocalTaskManagerTest.php - LocalTasksBlock.php in core/
lib/ Drupal/ Core/ Menu/ Plugin/ Block/ LocalTasksBlock.php - MainContentViewSubscriber.php in core/
lib/ Drupal/ Core/ EventSubscriber/ MainContentViewSubscriber.php - MenuActiveTrailsCacheContext.php in core/
lib/ Drupal/ Core/ Cache/ Context/ MenuActiveTrailsCacheContext.php - MenuLinkTree.php in core/
lib/ Drupal/ Core/ Menu/ MenuLinkTree.php - MenuParentFormSelector.php in core/
lib/ Drupal/ Core/ Menu/ MenuParentFormSelector.php - MenuParentFormSelectorInterface.php in core/
lib/ Drupal/ Core/ Menu/ MenuParentFormSelectorInterface.php - MultipleStaticContext.php in core/
modules/ block/ tests/ modules/ block_test/ src/ ContextProvider/ MultipleStaticContext.php - NavigationRenderer.php in core/
modules/ navigation/ src/ NavigationRenderer.php - PagersCacheContext.php in core/
lib/ Drupal/ Core/ Cache/ Context/ PagersCacheContext.php - PathCacheContext.php in core/
lib/ Drupal/ Core/ Cache/ Context/ PathCacheContext.php - PathParentCacheContext.php in core/
lib/ Drupal/ Core/ Cache/ Context/ PathParentCacheContext.php - PermissionsHashGenerator.php in core/
lib/ Drupal/ Core/ Session/ PermissionsHashGenerator.php - PermissionsHashGeneratorInterface.php in core/
lib/ Drupal/ Core/ Session/ PermissionsHashGeneratorInterface.php - PlaceholderGenerator.php in core/
lib/ Drupal/ Core/ Render/ PlaceholderGenerator.php - ProtocolVersionCacheContext.php in core/
lib/ Drupal/ Core/ Cache/ Context/ ProtocolVersionCacheContext.php - QueryArgsCacheContext.php in core/
lib/ Drupal/ Core/ Cache/ Context/ QueryArgsCacheContext.php - RenderCache.php in core/
lib/ Drupal/ Core/ Render/ RenderCache.php - Renderer.php in core/
lib/ Drupal/ Core/ Render/ Renderer.php - RendererBubblingTest.php in core/
tests/ Drupal/ Tests/ Core/ Render/ RendererBubblingTest.php - RendererPlaceholdersTest.php in core/
tests/ Drupal/ Tests/ Core/ Render/ RendererPlaceholdersTest.php - RendererTest.php in core/
tests/ Drupal/ Tests/ Core/ Render/ RendererTest.php - RendererTestBase.php in core/
tests/ Drupal/ Tests/ Core/ Render/ RendererTestBase.php - RequestFormatCacheContext.php in core/
lib/ Drupal/ Core/ Cache/ Context/ RequestFormatCacheContext.php - RouteCacheContext.php in core/
lib/ Drupal/ Core/ Cache/ Context/ RouteCacheContext.php - SessionExistsCacheContext.php in core/
lib/ Drupal/ Core/ Cache/ Context/ SessionExistsCacheContext.php - SiteCacheContext.php in core/
lib/ Drupal/ Core/ Cache/ Context/ SiteCacheContext.php - TermRouteContext.php in core/
modules/ taxonomy/ src/ ContextProvider/ TermRouteContext.php - TestDisplayVariant.php in core/
modules/ system/ tests/ modules/ display_variant_test/ src/ Plugin/ DisplayVariant/ TestDisplayVariant.php - ThemeCacheContext.php in core/
lib/ Drupal/ Core/ Cache/ Context/ ThemeCacheContext.php - TimestampAgoFormatter.php in core/
lib/ Drupal/ Core/ Field/ Plugin/ Field/ FieldFormatter/ TimestampAgoFormatter.php - TimeZoneCacheContext.php in core/
lib/ Drupal/ Core/ Cache/ Context/ TimeZoneCacheContext.php - toolbar.module in core/
modules/ toolbar/ toolbar.module - Administration toolbar for quick access to top level administration items.
- ToolbarController.php in core/
modules/ toolbar/ src/ Controller/ ToolbarController.php - TrustedRedirectResponseTest.php in core/
tests/ Drupal/ Tests/ Core/ Routing/ TrustedRedirectResponseTest.php - UrlCacheContext.php in core/
lib/ Drupal/ Core/ Cache/ Context/ UrlCacheContext.php - UserCacheContext.php in core/
lib/ Drupal/ Core/ Cache/ Context/ UserCacheContext.php - UserListBuilder.php in core/
modules/ user/ src/ UserListBuilder.php - UserRegistrationRestTest.php in core/
modules/ user/ tests/ src/ Functional/ UserRegistrationRestTest.php - UserRolesCacheContext.php in core/
lib/ Drupal/ Core/ Cache/ Context/ UserRolesCacheContext.php - VariationCacheTest.php in core/
tests/ Drupal/ Tests/ Core/ Cache/ VariationCacheTest.php - VersionHistoryController.php in core/
lib/ Drupal/ Core/ Entity/ Controller/ VersionHistoryController.php - WorkspaceTest.php in core/
modules/ jsonapi/ tests/ src/ Functional/ WorkspaceTest.php
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.