You are here

216 files declare their use of Cache in Drupal 8

AccessResult.php in core/lib/Drupal/Core/Access/AccessResult.php
AccessResultTest.php in core/tests/Drupal/Tests/Core/Access/AccessResultTest.php
Contains \Drupal\Tests\Core\Access\AccessResultTest.
AccessRoleTest.php in core/modules/user/tests/src/Functional/Views/AccessRoleTest.php
AggregatorFeedBlock.php in core/modules/aggregator/src/Plugin/Block/AggregatorFeedBlock.php
AliasPathProcessorTest.php in core/modules/path_alias/tests/src/Unit/PathProcessor/AliasPathProcessorTest.php
ArgumentPluginBase.php in core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php
AssertPageCacheContextsAndTagsTrait.php in core/modules/system/src/Tests/Cache/AssertPageCacheContextsAndTagsTrait.php
AssertPageCacheContextsAndTagsTrait.php in core/modules/system/tests/src/Functional/Cache/AssertPageCacheContextsAndTagsTrait.php
AssertViewsCacheTagsTrait.php in core/modules/views/src/Tests/AssertViewsCacheTagsTrait.php
AttachedRenderingBlock.php in core/modules/system/tests/modules/render_attached_test/src/Plugin/Block/AttachedRenderingBlock.php
BackendChainImplementationUnitTest.php in core/tests/Drupal/Tests/Core/Cache/BackendChainImplementationUnitTest.php
block.install in core/modules/block/block.install
Contains install and update functions for Block.
Block.php in core/modules/block/src/Entity/Block.php
BlockAccessControlHandler.php in core/modules/block/src/BlockAccessControlHandler.php
BlockCacheTest.php in core/modules/block/tests/src/Functional/BlockCacheTest.php
BlockComponentRenderArrayTest.php in core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php
BlockContentCacheTagsTest.php in core/modules/block_content/tests/src/Functional/BlockContentCacheTagsTest.php
BlockContentHalJsonAnonTest.php in core/modules/block_content/tests/src/Functional/Hal/BlockContentHalJsonAnonTest.php
BlockContentResourceTestBase.php in core/modules/block_content/tests/src/Functional/Rest/BlockContentResourceTestBase.php
BlockContentTest.php in core/modules/jsonapi/tests/src/Functional/BlockContentTest.php
BlockViewBuilder.php in core/modules/block/src/BlockViewBuilder.php
BlockViewBuilderTest.php in core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php
block_test.module in core/modules/block/tests/modules/block_test/block_test.module
Provide test blocks.
BookManager.php in core/modules/book/src/BookManager.php
BookNavigationBlock.php in core/modules/book/src/Plugin/Block/BookNavigationBlock.php
BookTest.php in core/modules/book/tests/src/Functional/BookTest.php
BreadcrumbManagerTest.php in core/tests/Drupal/Tests/Core/Breadcrumb/BreadcrumbManagerTest.php
BreakpointManager.php in core/modules/breakpoint/src/BreakpointManager.php
BubbleableMetadataTest.php in core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php
CacheableMetadataCalculationTest.php in core/modules/views/tests/modules/views_test_cacheable_metadata_calculation/src/Plugin/views/access/CacheableMetadataCalculationTest.php
CacheableMetadataTest.php in core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php
CacheCollectorTest.php in core/tests/Drupal/Tests/Core/Cache/CacheCollectorTest.php
CachePluginBase.php in core/modules/views/src/Plugin/views/cache/CachePluginBase.php
CacheRouterRebuildSubscriber.php in core/lib/Drupal/Core/EventSubscriber/CacheRouterRebuildSubscriber.php
CacheTagTest.php in core/modules/views/tests/src/Functional/Plugin/CacheTagTest.php
CacheTest.php in core/tests/Drupal/Tests/Core/Cache/CacheTest.php
ClearTest.php in core/modules/system/tests/src/Functional/Cache/ClearTest.php
Comment.php in core/modules/comment/src/Entity/Comment.php
CommentDefaultFormatterCacheTagsTest.php in core/modules/comment/tests/src/Kernel/CommentDefaultFormatterCacheTagsTest.php
CommentResourceTestBase.php in core/modules/comment/tests/src/Functional/Rest/CommentResourceTestBase.php
CommentRssTest.php in core/modules/comment/tests/src/Functional/CommentRssTest.php
CommentTest.php in core/modules/jsonapi/tests/src/Functional/CommentTest.php
common.inc in core/includes/common.inc
Common functions that many Drupal modules will need to reference.
ComputedString.php in core/modules/system/tests/modules/entity_test/src/TypedData/ComputedString.php
Config.php in core/lib/Drupal/Core/Config/Config.php
ConfigBase.php in core/lib/Drupal/Core/Config/ConfigBase.php
ConfigEntityBase.php in core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php
ConfigEntityStorageTest.php in core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityStorageTest.php
ConfigFactory.php in core/lib/Drupal/Core/Config/ConfigFactory.php
ConfigTranslationDeleteForm.php in core/modules/config_translation/src/Form/ConfigTranslationDeleteForm.php
ConfigurableLanguageManagerTest.php in core/modules/language/tests/src/Functional/ConfigurableLanguageManagerTest.php
ConfigurableLanguageResourceTestBase.php in core/modules/language/tests/src/Functional/Rest/ConfigurableLanguageResourceTestBase.php
ConfigurableLanguageTest.php in core/modules/jsonapi/tests/src/Functional/ConfigurableLanguageTest.php
ContactLinkTest.php in core/modules/contact/tests/src/Functional/Views/ContactLinkTest.php
ContentEntityStorageBase.php in core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php
ContentLanguageSettingsTest.php in core/modules/jsonapi/tests/src/Functional/ContentLanguageSettingsTest.php
ContentTranslationManageAccessCheckTest.php in core/modules/content_translation/tests/src/Unit/Access/ContentTranslationManageAccessCheckTest.php
ContentTranslationUITestBase.php in core/modules/content_translation/src/Tests/ContentTranslationUITestBase.php
ContentTranslationUITestBase.php in core/modules/content_translation/tests/src/Functional/ContentTranslationUITestBase.php
ContextAwarePluginBase.php in core/lib/Drupal/Core/Plugin/ContextAwarePluginBase.php
CurrentUser.php in core/modules/user/src/Plugin/views/argument_default/CurrentUser.php
DatabaseBackendTagTest.php in core/tests/Drupal/KernelTests/Core/Cache/DatabaseBackendTagTest.php
DefaultPluginManager.php in core/lib/Drupal/Core/Plugin/DefaultPluginManager.php
delay_cache_tags_invalidation.module in core/modules/system/tests/modules/delay_cache_tags_invalidation/delay_cache_tags_invalidation.module
Functions to test delayed cache tags invalidation.
DisplayPluginBase.php in core/modules/views/src/Plugin/views/display/DisplayPluginBase.php
DynamicPageCacheSubscriber.php in core/modules/dynamic_page_cache/src/EventSubscriber/DynamicPageCacheSubscriber.php
EditorFileReferenceFilterTest.php in core/modules/editor/tests/src/Kernel/EditorFileReferenceFilterTest.php
ElementInfoManager.php in core/lib/Drupal/Core/Render/ElementInfoManager.php
EndOfTransactionQueriesTest.php in core/tests/Drupal/KernelTests/Core/Cache/EndOfTransactionQueriesTest.php
EntityBase.php in core/lib/Drupal/Core/Entity/EntityBase.php
EntityCacheTagsTestBase.php in core/modules/system/src/Tests/Entity/EntityCacheTagsTestBase.php
EntityCacheTagsTestBase.php in core/modules/system/tests/src/Functional/Entity/EntityCacheTagsTestBase.php
EntityDisplayTest.php in core/modules/field_ui/tests/src/Kernel/EntityDisplayTest.php
EntityField.php in core/modules/views/src/Plugin/views/field/EntityField.php
EntityFieldManager.php in core/lib/Drupal/Core/Entity/EntityFieldManager.php
EntityFieldManagerTest.php in core/tests/Drupal/Tests/Core/Entity/EntityFieldManagerTest.php
Contains \Drupal\Tests\Core\Entity\EntityFieldManagerTest.
EntityReferenceFormatterTest.php in core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceFormatterTest.php
EntityResourceTestBase.php in core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php
EntityTestController.php in core/modules/system/tests/modules/entity_test/src/Controller/EntityTestController.php
EntityTestHalJsonInternalPropertyNormalizerTest.php in core/modules/system/tests/modules/entity_test/tests/src/Functional/Hal/EntityTestHalJsonInternalPropertyNormalizerTest.php
EntityTestJsonInternalPropertyNormalizerTest.php in core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestJsonInternalPropertyNormalizerTest.php
EntityTestTextItemNormalizerTest.php in core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestTextItemNormalizerTest.php
EntityTypeBundleInfo.php in core/lib/Drupal/Core/Entity/EntityTypeBundleInfo.php
EntityTypeBundleInfoTest.php in core/tests/Drupal/Tests/Core/Entity/EntityTypeBundleInfoTest.php
EntityUnitTest.php in core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php
EntityViewBuilder.php in core/lib/Drupal/Core/Entity/EntityViewBuilder.php
EntityViewBuilderTest.php in core/tests/Drupal/KernelTests/Core/Entity/EntityViewBuilderTest.php
EntityWithUriCacheTagsTestBase.php in core/modules/system/src/Tests/Entity/EntityWithUriCacheTagsTestBase.php
EntityWithUriCacheTagsTestBase.php in core/modules/system/tests/src/Functional/Entity/EntityWithUriCacheTagsTestBase.php
ExposedFormPluginBase.php in core/modules/views/src/Plugin/views/exposed_form/ExposedFormPluginBase.php
field_layout.install in core/modules/field_layout/field_layout.install
Contains install and update functions for Field Layout.
FileHalJsonAnonTest.php in core/modules/file/tests/src/Functional/Hal/FileHalJsonAnonTest.php
FileMediaFormatterBase.php in core/modules/file/src/Plugin/Field/FieldFormatter/FileMediaFormatterBase.php
filter.module in core/modules/filter/filter.module
Framework for handling the filtering of content.
FilterPluginBase.php in core/modules/views/src/Plugin/views/filter/FilterPluginBase.php
Fixed.php in core/modules/views/src/Plugin/views/argument_default/Fixed.php
ForumBlockBase.php in core/modules/forum/src/Plugin/Block/ForumBlockBase.php
ForumBreadcrumbBuilderBaseTest.php in core/modules/forum/tests/src/Unit/Breadcrumb/ForumBreadcrumbBuilderBaseTest.php
ForumController.php in core/modules/forum/src/Controller/ForumController.php
ForumListingBreadcrumbBuilderTest.php in core/modules/forum/tests/src/Unit/Breadcrumb/ForumListingBreadcrumbBuilderTest.php
ForumNodeBreadcrumbBuilderTest.php in core/modules/forum/tests/src/Unit/Breadcrumb/ForumNodeBreadcrumbBuilderTest.php
FrontPageTest.php in core/modules/node/tests/src/Functional/Views/FrontPageTest.php
GenericCacheBackendUnitTestBase.php in core/tests/Drupal/KernelTests/Core/Cache/GenericCacheBackendUnitTestBase.php
GenericCacheBackendUnitTestBase.php in core/modules/system/src/Tests/Cache/GenericCacheBackendUnitTestBase.php
HelpBlock.php in core/modules/help/src/Plugin/Block/HelpBlock.php
HelpTopicTwig.php in core/modules/help_topics/src/HelpTopicTwig.php
HelpTopicTwigTest.php in core/modules/help_topics/tests/src/Unit/HelpTopicTwigTest.php
HtmlRenderer.php in core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php
ImageFormatter.php in core/modules/image/src/Plugin/Field/FieldFormatter/ImageFormatter.php
ImageStyle.php in core/modules/image/src/Entity/ImageStyle.php
Internal.php in core/modules/ckeditor/src/Plugin/CKEditorPlugin/Internal.php
Item.php in core/modules/aggregator/src/Entity/Item.php
JsonApiDocumentTopLevelNormalizerTest.php in core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiDocumentTopLevelNormalizerTest.php
LanguageConfigOverride.php in core/modules/language/src/Config/LanguageConfigOverride.php
LanguageNegotiationUrlTest.php in core/modules/language/tests/src/Unit/LanguageNegotiationUrlTest.php
LanguageUILanguageNegotiationTest.php in core/modules/language/tests/src/Functional/LanguageUILanguageNegotiationTest.php
layout_builder.install in core/modules/layout_builder/layout_builder.install
Contains install and update functions for Layout Builder.
LibraryDiscoveryCollectorTest.php in core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryCollectorTest.php
LocalActionDefault.php in core/lib/Drupal/Core/Menu/LocalActionDefault.php
LocalTaskDefault.php in core/lib/Drupal/Core/Menu/LocalTaskDefault.php
LocalTaskManager.php in core/lib/Drupal/Core/Menu/LocalTaskManager.php
LocalTaskManagerTest.php in core/tests/Drupal/Tests/Core/Menu/LocalTaskManagerTest.php
MediaEmbedFilterTest.php in core/modules/media/tests/src/Kernel/MediaEmbedFilterTest.php
MediaHalJsonAnonTest.php in core/modules/media/tests/src/Functional/Hal/MediaHalJsonAnonTest.php
MenuLinkBase.php in core/lib/Drupal/Core/Menu/MenuLinkBase.php
MenuLinkContentCacheabilityBubblingTest.php in core/modules/menu_link_content/tests/src/Kernel/MenuLinkContentCacheabilityBubblingTest.php
MenuLinkContentHalJsonAnonTest.php in core/modules/menu_link_content/tests/src/Functional/Hal/MenuLinkContentHalJsonAnonTest.php
MenuLinkMock.php in core/tests/Drupal/Tests/Core/Menu/MenuLinkMock.php
MenuLinkTreeTest.php in core/modules/system/tests/src/Unit/Menu/MenuLinkTreeTest.php
MenuRouterRebuildSubscriber.php in core/lib/Drupal/Core/EventSubscriber/MenuRouterRebuildSubscriber.php
MenuTreeStorage.php in core/lib/Drupal/Core/Menu/MenuTreeStorage.php
ModerationStateFilter.php in core/modules/content_moderation/src/Plugin/views/filter/ModerationStateFilter.php
ModuleInstaller.php in core/lib/Drupal/Core/Extension/ModuleInstaller.php
node.module in core/modules/node/node.module
The core module that allows content to be submitted to the site.
Node.php in core/modules/node/src/Plugin/views/argument_default/Node.php
NodeEntityViewModeAlterTest.php in core/modules/node/tests/src/Functional/NodeEntityViewModeAlterTest.php
NodeTest.php in core/modules/jsonapi/tests/src/Functional/NodeTest.php
PageCache.php in core/modules/page_cache/src/StackMiddleware/PageCache.php
PageCacheTest.php in core/modules/page_cache/tests/src/Functional/PageCacheTest.php
PathAliasTest.php in core/modules/path/tests/src/Functional/PathAliasTest.php
PathBasedBreadcrumbBuilderTest.php in core/modules/system/tests/src/Unit/Breadcrumbs/PathBasedBreadcrumbBuilderTest.php
Contains \Drupal\Tests\system\Unit\Breadcrumbs\PathBasedBreadcrumbBuilderTest.
Permission.php in core/modules/user/src/Plugin/views/access/Permission.php
PermissionsHashGenerator.php in core/lib/Drupal/Core/Session/PermissionsHashGenerator.php
PlaceholderGenerator.php in core/lib/Drupal/Core/Render/PlaceholderGenerator.php
ProcessedText.php in core/modules/filter/src/Element/ProcessedText.php
QueryParameter.php in core/modules/views/src/Plugin/views/argument_default/QueryParameter.php
QueryPluginBase.php in core/modules/views/src/Plugin/views/query/QueryPluginBase.php
Raw.php in core/modules/views/src/Plugin/views/argument_default/Raw.php
RefreshVariablesTrait.php in core/lib/Drupal/Core/Test/RefreshVariablesTrait.php
Registry.php in core/lib/Drupal/Core/Theme/Registry.php
RelationLinkManager.php in core/modules/hal/src/LinkManager/RelationLinkManager.php
RenderCache.php in core/lib/Drupal/Core/Render/RenderCache.php
RenderCacheIntegrationTest.php in core/modules/views/tests/src/Kernel/RenderCacheIntegrationTest.php
RenderedEntity.php in core/modules/views/src/Plugin/views/field/RenderedEntity.php
Renderer.php in core/lib/Drupal/Core/Render/Renderer.php
RendererBase.php in core/modules/views/src/Entity/Render/RendererBase.php
RendererBubblingTest.php in core/tests/Drupal/Tests/Core/Render/RendererBubblingTest.php
Contains \Drupal\Tests\Core\Render\RendererBubblingTest.
RendererPlaceholdersTest.php in core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php
Contains \Drupal\Tests\Core\Render\RendererPlaceholdersTest.
RendererTest.php in core/tests/Drupal/Tests/Core/Render/RendererTest.php
Contains \Drupal\Tests\Core\Render\RendererTest.
RendererTestBase.php in core/tests/Drupal/Tests/Core/Render/RendererTestBase.php
Contains \Drupal\Tests\Core\Render\RendererTestBase.
Resource.php in core/modules/media/src/OEmbed/Resource.php
ResourceObjectNormalizerCacherTest.php in core/modules/jsonapi/tests/src/Kernel/EventSubscriber/ResourceObjectNormalizerCacherTest.php
ResourceResponseTestTrait.php in core/modules/jsonapi/tests/src/Functional/ResourceResponseTestTrait.php
ResourceTestBase.php in core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php
ResourceTypeRepository.php in core/modules/jsonapi/src/ResourceType/ResourceTypeRepository.php
ResourceTypeRepositoryTest.php in core/modules/jsonapi/tests/src/Kernel/ResourceType/ResourceTypeRepositoryTest.php
ResponsiveImageFormatter.php in core/modules/responsive_image/src/Plugin/Field/FieldFormatter/ResponsiveImageFormatter.php
Role.php in core/modules/user/src/Plugin/views/access/Role.php
RouteNoneTest.php in core/tests/Drupal/KernelTests/Core/RouteProcessor/RouteNoneTest.php
RoutePreloader.php in core/lib/Drupal/Core/Routing/RoutePreloader.php
RouteProcessorCurrentIntegrationTest.php in core/tests/Drupal/KernelTests/Core/RouteProcessor/RouteProcessorCurrentIntegrationTest.php
RouteProcessorManagerTest.php in core/tests/Drupal/Tests/Core/RouteProcessor/RouteProcessorManagerTest.php
RouteProvider.php in core/lib/Drupal/Core/Routing/RouteProvider.php
RouterTest.php in core/modules/system/tests/src/Functional/Routing/RouterTest.php
SearchPageCacheTagsTest.php in core/modules/search/tests/src/Functional/SearchPageCacheTagsTest.php
SectionRenderTest.php in core/modules/layout_builder/tests/src/Unit/SectionRenderTest.php
Serializer.php in core/modules/rest/src/Plugin/views/style/Serializer.php
settings_tray.install in core/modules/settings_tray/settings_tray.install
Install, update and uninstall functions for the Settings Tray module.
shortcut.module in core/modules/shortcut/shortcut.module
Allows users to manage customizable lists of shortcut links.
Shortcut.php in core/modules/shortcut/src/Entity/Shortcut.php
ShortcutHalJsonAnonTest.php in core/modules/shortcut/tests/src/Functional/Hal/ShortcutHalJsonAnonTest.php
SortPluginBase.php in core/modules/views/src/Plugin/views/sort/SortPluginBase.php
SortRandomTest.php in core/modules/views/tests/src/Kernel/Handler/SortRandomTest.php
Sql.php in core/modules/views/src/Plugin/views/query/Sql.php
SqlBase.php in core/modules/views/src/Plugin/views/pager/SqlBase.php
StatisticsReportsTest.php in core/modules/statistics/tests/src/Functional/StatisticsReportsTest.php
StyleSerializerTest.php in core/modules/rest/tests/src/Functional/Views/StyleSerializerTest.php
system.install in core/modules/system/system.install
Install, update and uninstall functions for the system module.
system.module in core/modules/system/system.module
Configuration system that lets administrators modify the workings of the site.
SystemBrandingBlock.php in core/modules/system/src/Plugin/Block/SystemBrandingBlock.php
SystemMenuBlock.php in core/modules/system/src/Plugin/Block/SystemMenuBlock.php
SystemMessagesBlock.php in core/modules/system/src/Plugin/Block/SystemMessagesBlock.php
system_module_test.install in core/modules/system/tests/modules/system_module_test/system_module_test.install
Install, update, and uninstall functions for the System test module.
Table.php in core/modules/views/src/Plugin/views/style/Table.php
TermResourceTestBase.php in core/modules/taxonomy/tests/src/Functional/Rest/TermResourceTestBase.php
TermTest.php in core/modules/jsonapi/tests/src/Functional/TermTest.php
TestAccessBlock.php in core/modules/block/tests/modules/block_test/src/Plugin/Block/TestAccessBlock.php
TestHelpTopicPlugin.php in core/modules/help_topics/tests/modules/help_topics_test/src/Plugin/HelpTopic/TestHelpTopicPlugin.php
ThemeInstaller.php in core/lib/Drupal/Core/Extension/ThemeInstaller.php
ThemeRegistry.php in core/lib/Drupal/Core/Utility/ThemeRegistry.php
Tid.php in core/modules/taxonomy/src/Plugin/views/argument_default/Tid.php
Time.php in core/modules/views/src/Plugin/views/cache/Time.php
ToolbarCacheContextsTest.php in core/modules/toolbar/tests/src/Functional/ToolbarCacheContextsTest.php
TrackerTest.php in core/modules/tracker/tests/src/Functional/TrackerTest.php
TypeLinkManager.php in core/modules/hal/src/LinkManager/TypeLinkManager.php
UninstallTest.php in core/modules/system/tests/src/Functional/Module/UninstallTest.php
UrlGeneratorTest.php in core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php
UrlTest.php in core/modules/system/tests/src/Functional/Common/UrlTest.php
User.php in core/modules/user/src/Plugin/views/argument_default/User.php
UserEditTest.php in core/modules/user/tests/src/Functional/UserEditTest.php
UserTest.php in core/modules/jsonapi/tests/src/Functional/UserTest.php
utility.inc in core/includes/utility.inc
Miscellaneous functions.
View.php in core/modules/views/src/Entity/View.php
ViewsData.php in core/modules/views/src/ViewsData.php
ViewsExposedFilterBlock.php in core/modules/views/src/Plugin/Block/ViewsExposedFilterBlock.php
WorkspaceRepository.php in core/modules/workspaces/src/WorkspaceRepository.php