Search for cacheTags

  1. Search 7.x for cacheTags
  2. Search 9.5.x for cacheTags
  3. Search 10.3.x for cacheTags
  4. Search 11.x for cacheTags
  5. Other projects
Title Object type File name Summary
AssertPageCacheContextsAndTagsTrait::assertCacheTags function core/modules/system/src/Tests/Cache/AssertPageCacheContextsAndTagsTrait.php Ensures that some cache tags are present in the current response.
AssertPageCacheContextsAndTagsTrait::debugCacheTags function core/modules/system/src/Tests/Cache/AssertPageCacheContextsAndTagsTrait.php Provides debug information for cache tags.
EntityCacheTagsTestBase class core/modules/system/src/Tests/Entity/EntityCacheTagsTestBase.php Provides helper methods for Entity cache tags tests.
EntityCacheTagsTestBase.php file core/modules/system/src/Tests/Entity/EntityCacheTagsTestBase.php
EntityCacheTagsTestBase::$entity property core/modules/system/src/Tests/Entity/EntityCacheTagsTestBase.php The main entity used for testing.
EntityCacheTagsTestBase::$modules property core/modules/system/src/Tests/Entity/EntityCacheTagsTestBase.php Modules to enable.
EntityCacheTagsTestBase::$nonReferencingEntity property core/modules/system/src/Tests/Entity/EntityCacheTagsTestBase.php The entity instance not referencing the main entity.
EntityCacheTagsTestBase::$referencingEntity property core/modules/system/src/Tests/Entity/EntityCacheTagsTestBase.php The entity instance referencing the main entity.
EntityCacheTagsTestBase::createCacheId function core/modules/system/src/Tests/Entity/EntityCacheTagsTestBase.php Creates a cache ID from a list of cache keys and a set of cache contexts.
EntityCacheTagsTestBase::createEntity function core/modules/system/src/Tests/Entity/EntityCacheTagsTestBase.php Creates the entity to be tested.
EntityCacheTagsTestBase::createReferenceTestEntities function core/modules/system/src/Tests/Entity/EntityCacheTagsTestBase.php Creates a referencing and a non-referencing entity for testing purposes.
EntityCacheTagsTestBase::generateStandardizedInfo function core/modules/system/src/Tests/Entity/EntityCacheTagsTestBase.php Generates standardized entity cache tags test info.
EntityCacheTagsTestBase::getAccessCacheContextsForEntity function core/modules/system/src/Tests/Entity/EntityCacheTagsTestBase.php Returns the access cache contexts for the tested entity.
EntityCacheTagsTestBase::getAdditionalCacheContextsForEntity function core/modules/system/src/Tests/Entity/EntityCacheTagsTestBase.php Returns the additional (non-standard) cache contexts for the tested entity.
EntityCacheTagsTestBase::getAdditionalCacheContextsForEntityListing function core/modules/system/src/Tests/Entity/EntityCacheTagsTestBase.php Returns the additional cache tags for the tested entity's listing by type.
EntityCacheTagsTestBase::getAdditionalCacheTagsForEntity function core/modules/system/src/Tests/Entity/EntityCacheTagsTestBase.php Returns the additional (non-standard) cache tags for the tested entity.
EntityCacheTagsTestBase::getAdditionalCacheTagsForEntityListing function core/modules/system/src/Tests/Entity/EntityCacheTagsTestBase.php Returns the additional cache tags for the tested entity's listing by type.
EntityCacheTagsTestBase::selectViewMode function core/modules/system/src/Tests/Entity/EntityCacheTagsTestBase.php Selects the preferred view mode for the given entity type.
EntityCacheTagsTestBase::setUp function core/modules/system/src/Tests/Entity/EntityCacheTagsTestBase.php Sets up a Drupal site for running functional and integration tests.
EntityCacheTagsTestBase::testReferencedEntity function core/modules/system/src/Tests/Entity/EntityCacheTagsTestBase.php Tests cache tags presence and invalidation of the entity when referenced.
EntityCacheTagsTestBase::verifyRenderCache function core/modules/system/src/Tests/Entity/EntityCacheTagsTestBase.php Verify that a given render cache entry exists, with the correct cache tags.
EntityTestHalJsonInternalPropertyNormalizerTest::getExpectedCacheTags function 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.
EntityWithUriCacheTagsTestBase class core/modules/system/src/Tests/Entity/EntityWithUriCacheTagsTestBase.php Provides helper methods for Entity cache tags tests; for entities with URIs.
EntityWithUriCacheTagsTestBase.php file core/modules/system/src/Tests/Entity/EntityWithUriCacheTagsTestBase.php
EntityWithUriCacheTagsTestBase::getDefaultCacheContexts function core/modules/system/src/Tests/Entity/EntityWithUriCacheTagsTestBase.php Gets the default cache contexts for rendered entities.
EntityWithUriCacheTagsTestBase::testEntityUri function core/modules/system/src/Tests/Entity/EntityWithUriCacheTagsTestBase.php Tests cache tags presence and invalidation of the entity at its URI.
FileHalJsonAnonTest::getExpectedCacheTags function core/modules/file/tests/src/Functional/Hal/FileHalJsonAnonTest.php The expected cache tags for the GET/HEAD response of the test entity.
MediaHalJsonAnonTest::getExpectedCacheTags function core/modules/media/tests/src/Functional/Hal/MediaHalJsonAnonTest.php The expected cache tags for the GET/HEAD response of the test entity.
PageCacheTagsTestBase class core/modules/system/src/Tests/Cache/PageCacheTagsTestBase.php Provides helper methods for page cache tags tests.
PageCacheTagsTestBase.php file core/modules/system/src/Tests/Cache/PageCacheTagsTestBase.php
PageCacheTagsTestBase::$dumpHeaders property core/modules/system/src/Tests/Cache/PageCacheTagsTestBase.php Always enable header dumping in page cache tags tests, this aids debugging.
PageCacheTagsTestBase::setUp function core/modules/system/src/Tests/Cache/PageCacheTagsTestBase.php Sets up a Drupal site for running functional and integration tests.
PageCacheTagsTestBase::verifyPageCache function core/modules/system/src/Tests/Cache/PageCacheTagsTestBase.php Verify that when loading a given page, it's a page cache hit or miss.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.