You are here

147 files declare their use of CacheableMetadata in Drupal 9

AccountPermissionsCacheContext.php in core/lib/Drupal/Core/Cache/Context/AccountPermissionsCacheContext.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
BlockComponentRenderArray.php in core/modules/layout_builder/src/EventSubscriber/BlockComponentRenderArray.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
BookNavigationCacheContext.php in core/modules/book/src/Cache/BookNavigationCacheContext.php
BubbleableMetadata.php in core/lib/Drupal/Core/Render/BubbleableMetadata.php
BubbleableMetadataTest.php in core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php
CacheabilityMetadataConfigOverride.php in core/modules/config/tests/config_override_integration_test/src/CacheabilityMetadataConfigOverride.php
CacheableExceptionTest.php in core/tests/Drupal/Tests/Core/Http/CacheableExceptionTest.php
CacheableMetadataTest.php in core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php
CacheableNormalization.php in core/modules/jsonapi/src/Normalizer/Value/CacheableNormalization.php
CacheContextsManager.php in core/lib/Drupal/Core/Cache/Context/CacheContextsManager.php
CacheContextsManagerTest.php in core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php
Contains \Drupal\Tests\Core\Cache\Context\CacheContextsManagerTest.
CachePluginBase.php in core/modules/views/src/Plugin/views/cache/CachePluginBase.php
ClientErrorResponseSubscriber.php in core/lib/Drupal/Core/EventSubscriber/ClientErrorResponseSubscriber.php
ColorSystemBrandingBlockAlter.php in core/modules/color/src/ColorSystemBrandingBlockAlter.php
ComputedTestCacheableStringItemList.php in core/modules/system/tests/modules/entity_test/src/Plugin/Field/ComputedTestCacheableStringItemList.php
ConfigEntityStorage.php in core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php
ConfigOverride.php in core/lib/Drupal/Core/Installer/ConfigOverride.php
ConfigOverrideIntegrationTestCacheContext.php in core/modules/config/tests/config_override_integration_test/src/Cache/ConfigOverrideIntegrationTestCacheContext.php
ConfigOverrider.php in core/modules/config/tests/config_entity_static_cache_test/src/ConfigOverrider.php
ConfigOverrider.php in core/modules/config/tests/config_override_test/src/ConfigOverrider.php
ConfigOverrider.php in core/modules/settings_tray/tests/modules/settings_tray_override_test/src/ConfigOverrider.php
ConfigOverriderLowPriority.php in core/modules/config/tests/config_override_test/src/ConfigOverriderLowPriority.php
ContentTranslationController.php in core/modules/content_translation/src/Controller/ContentTranslationController.php
content_translation.module in core/modules/content_translation/content_translation.module
Allows entities to be translated into different languages.
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
DisplayPluginBase.php in core/modules/views/src/Plugin/views/display/DisplayPluginBase.php
DynamicPageCacheSubscriber.php in core/modules/dynamic_page_cache/src/EventSubscriber/DynamicPageCacheSubscriber.php
EntityAccessDeniedHttpException.php in core/modules/jsonapi/src/Exception/EntityAccessDeniedHttpException.php
EntityCondition.php in core/modules/jsonapi/src/Query/EntityCondition.php
EntityReferenceFieldNormalizer.php in core/modules/jsonapi/src/Normalizer/EntityReferenceFieldNormalizer.php
EntityReferenceFormatterBase.php in core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/EntityReferenceFormatterBase.php
EntityReferenceFormatterTest.php in core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceFormatterTest.php
EntityResource.php in core/modules/jsonapi/src/Controller/EntityResource.php
EntityResourceTestBase.php in core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php
EntitySerializationTest.php in core/modules/serialization/tests/src/Kernel/EntitySerializationTest.php
EntityTestViewGrantsCacheContext.php in core/modules/system/tests/modules/entity_test/src/Cache/EntityTestViewGrantsCacheContext.php
EntryPoint.php in core/modules/jsonapi/src/Controller/EntryPoint.php
ExceptionJsonSubscriberTest.php in core/tests/Drupal/Tests/Core/EventSubscriber/ExceptionJsonSubscriberTest.php
ExtraFieldBlock.php in core/modules/layout_builder/src/Plugin/Block/ExtraFieldBlock.php
Feed.php in core/modules/views/src/Plugin/views/display/Feed.php
FieldBlock.php in core/modules/layout_builder/src/Plugin/Block/FieldBlock.php
FieldItemNormalizer.php in core/modules/jsonapi/src/Normalizer/FieldItemNormalizer.php
FieldResolver.php in core/modules/jsonapi/src/Context/FieldResolver.php
FileUpload.php in core/modules/jsonapi/src/Controller/FileUpload.php
FilterTestCacheMerge.php in core/modules/filter/tests/filter_test/src/Plugin/Filter/FilterTestCacheMerge.php
HalLinkManagerTest.php in core/modules/hal/tests/src/Kernel/HalLinkManagerTest.php
HeadersCacheContext.php in core/lib/Drupal/Core/Cache/Context/HeadersCacheContext.php
HelpController.php in core/modules/help/src/Controller/HelpController.php
HelpTopicSection.php in core/modules/help_topics/src/Plugin/HelpSection/HelpTopicSection.php
HtmlResponse.php in core/lib/Drupal/Core/Render/HtmlResponse.php
HttpExceptionNormalizer.php in core/modules/jsonapi/src/Normalizer/HttpExceptionNormalizer.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
JsonApiDocumentTopLevelNormalizer.php in core/modules/jsonapi/src/Normalizer/JsonApiDocumentTopLevelNormalizer.php
JsonApiRequestValidator.php in core/modules/jsonapi/src/EventSubscriber/JsonApiRequestValidator.php
JsonRenderer.php in core/modules/system/tests/modules/common_test/src/Render/MainContent/JsonRenderer.php
LanguageConfigFactoryOverride.php in core/modules/language/src/Config/LanguageConfigFactoryOverride.php
LanguagesCacheContext.php in core/lib/Drupal/Core/Cache/Context/LanguagesCacheContext.php
LayoutBuilderEntityViewDisplay.php in core/modules/layout_builder/src/Entity/LayoutBuilderEntityViewDisplay.php
LayoutBuilderIsActiveCacheContext.php in core/modules/layout_builder/src/Cache/LayoutBuilderIsActiveCacheContext.php
LayoutEntityHelperTrait.php in core/modules/layout_builder/src/LayoutEntityHelperTrait.php
layout_builder.module in core/modules/layout_builder/layout_builder.module
Provides hook implementations for Layout Builder.
Link.php in core/modules/jsonapi/src/JsonApiResource/Link.php
LinkCollectionNormalizer.php in core/modules/jsonapi/src/Normalizer/LinkCollectionNormalizer.php
LinkCollectionNormalizerTest.php in core/modules/jsonapi/tests/src/Kernel/Normalizer/LinkCollectionNormalizerTest.php
LinkTest.php in core/modules/jsonapi/tests/src/Unit/JsonApiResource/LinkTest.php
LocalActionManager.php in core/lib/Drupal/Core/Menu/LocalActionManager.php
LocalTaskManager.php in core/lib/Drupal/Core/Menu/LocalTaskManager.php
LocalTasksBlock.php in core/lib/Drupal/Core/Menu/Plugin/Block/LocalTasksBlock.php
MainContentViewSubscriber.php in core/lib/Drupal/Core/EventSubscriber/MainContentViewSubscriber.php
MediaEmbedFilterTest.php in core/modules/media/tests/src/Kernel/MediaEmbedFilterTest.php
MenuActiveTrailsCacheContext.php in core/lib/Drupal/Core/Cache/Context/MenuActiveTrailsCacheContext.php
MenuForm.php in core/modules/menu_ui/src/MenuForm.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
menu_ui.module in core/modules/menu_ui/menu_ui.module
Allows administrators to customize the site's navigation menus.
MultipleStaticContext.php in core/modules/block/tests/modules/block_test/src/ContextProvider/MultipleStaticContext.php
NodeAccessGrantsCacheContext.php in core/modules/node/src/Cache/NodeAccessGrantsCacheContext.php
NodeRouteContext.php in core/modules/node/src/ContextProvider/NodeRouteContext.php
NodeSearch.php in core/modules/node/src/Plugin/Search/NodeSearch.php
OEmbedFormatter.php in core/modules/media/src/Plugin/Field/FieldFormatter/OEmbedFormatter.php
OEmbedIframeController.php in core/modules/media/src/Controller/OEmbedIframeController.php
OffsetPage.php in core/modules/jsonapi/src/Query/OffsetPage.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
PirateDayCacheabilityMetadataConfigOverride.php in core/modules/config/tests/config_override_test/src/PirateDayCacheabilityMetadataConfigOverride.php
PirateDayCacheContext.php in core/modules/config/tests/config_override_test/src/Cache/PirateDayCacheContext.php
ProcessedText.php in core/modules/filter/src/Element/ProcessedText.php
ProtocolVersionCacheContext.php in core/lib/Drupal/Core/Cache/Context/ProtocolVersionCacheContext.php
QueryArgsCacheContext.php in core/lib/Drupal/Core/Cache/Context/QueryArgsCacheContext.php
QuickEditIntegration.php in core/modules/layout_builder/src/QuickEditIntegration.php
Relationship.php in core/modules/jsonapi/src/JsonApiResource/Relationship.php
RelationshipFieldAccess.php in core/modules/jsonapi/src/Access/RelationshipFieldAccess.php
RenderCache.php in core/lib/Drupal/Core/Render/RenderCache.php
Renderer.php in core/lib/Drupal/Core/Render/Renderer.php
RendererTestBase.php in core/tests/Drupal/Tests/Core/Render/RendererTestBase.php
Contains \Drupal\Tests\Core\Render\RendererTestBase.
RequestFormatCacheContext.php in core/lib/Drupal/Core/Cache/Context/RequestFormatCacheContext.php
ResourceObject.php in core/modules/jsonapi/src/JsonApiResource/ResourceObject.php
ResourceObjectNormalizationCacher.php in core/modules/jsonapi/src/EventSubscriber/ResourceObjectNormalizationCacher.php
ResourceObjectNormalizer.php in core/modules/jsonapi/src/Normalizer/ResourceObjectNormalizer.php
ResourceObjectNormalizerCacherTest.php in core/modules/jsonapi/tests/src/Kernel/EventSubscriber/ResourceObjectNormalizerCacherTest.php
ResourceResponseSubscriber.php in core/modules/rest/src/EventSubscriber/ResourceResponseSubscriber.php
ResourceResponseTestTrait.php in core/modules/jsonapi/tests/src/Functional/ResourceResponseTestTrait.php
ResourceTestBase.php in core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php
ResourceVersionRouteEnhancer.php in core/modules/jsonapi/src/Revisions/ResourceVersionRouteEnhancer.php
RestExport.php in core/modules/rest/src/Plugin/views/display/RestExport.php
RouteCacheContext.php in core/lib/Drupal/Core/Cache/Context/RouteCacheContext.php
SectionStorageManagerTest.php in core/modules/layout_builder/tests/src/Unit/SectionStorageManagerTest.php
SessionExistsCacheContext.php in core/lib/Drupal/Core/Cache/Context/SessionExistsCacheContext.php
shortcut.module in core/modules/shortcut/shortcut.module
Allows users to manage customizable lists of shortcut links.
SiteCacheContext.php in core/lib/Drupal/Core/Cache/Context/SiteCacheContext.php
Sort.php in core/modules/jsonapi/src/Query/Sort.php
SystemController.php in core/modules/system/src/Controller/SystemController.php
TemporaryQueryGuard.php in core/modules/jsonapi/src/Access/TemporaryQueryGuard.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
TrackerController.php in core/modules/tracker/src/Controller/TrackerController.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
UserRolesCacheContext.php in core/lib/Drupal/Core/Cache/Context/UserRolesCacheContext.php
VersionNegotiator.php in core/modules/jsonapi/src/Revisions/VersionNegotiator.php
ViewsTestCacheContext.php in core/modules/views/tests/modules/views_test_data/src/Cache/ViewsTestCacheContext.php
WorkspaceCacheContext.php in core/modules/workspaces/src/WorkspaceCacheContext.php