Search for contexts
- Search 7.x for contexts
- Search 9.5.x for contexts
- Search 8.9.x for contexts
- Search 10.3.x for contexts
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| Access::getCacheContexts | function | core/ |
The cache contexts associated with this object. |
| AccessPolicyBase::getPersistentCacheContexts | function | core/ |
Gets the persistent cache contexts. |
| AccessPolicyInterface::getPersistentCacheContexts | function | core/ |
Gets the persistent cache contexts. |
| AccessPolicyProcessor::getPersistentCacheContexts | function | core/ |
Gets the persistent cache contexts of all policies within a given scope. |
| AccessPolicyProcessorTest::testCacheContexts | function | core/ |
Tests that only the cache contexts for policies that apply are added. |
| AccessResult::getCacheContexts | function | core/ |
The cache contexts associated with this object. |
| AccessResult::resetCacheContexts | function | core/ |
Resets cache contexts (to the empty array). |
| AccessResultTest::$cacheContextsManager | property | core/ |
The cache contexts manager. |
| AccessResultTest::testCacheContexts | function | core/ |
Tests cache contexts. |
| ActionResourceTestBase::getExpectedCacheContexts | function | core/ |
The expected cache contexts for the GET/HEAD response of the test entity. |
| AlwaysAddsAccessPolicy::getPersistentCacheContexts | function | core/ |
Gets the persistent cache contexts. |
| AlwaysAltersAccessPolicy::getPersistentCacheContexts | function | core/ |
Gets the persistent cache contexts. |
| ArgumentPluginBase::getCacheContexts | function | core/ |
The cache contexts associated with this object. |
| AssertPageCacheContextsAndTagsTrait | trait | core/ |
Provides test assertions for testing page-level cache contexts & tags. |
| AssertPageCacheContextsAndTagsTrait.php | file | core/ |
|
| AssertPageCacheContextsAndTagsTrait::assertCacheContext | function | core/ |
Asserts whether an expected cache context was present in the last response. |
| AssertPageCacheContextsAndTagsTrait::assertCacheContexts | function | core/ |
Ensures that some cache contexts are present in the current response. |
| AssertPageCacheContextsAndTagsTrait::assertCacheMaxAge | function | core/ |
Asserts the max age header. |
| AssertPageCacheContextsAndTagsTrait::assertCacheTags | function | core/ |
Ensures that some cache tags are present in the current response. |
| AssertPageCacheContextsAndTagsTrait::assertNoCacheContext | function | core/ |
Asserts that a cache context was not present in the last response. |
| AssertPageCacheContextsAndTagsTrait::assertPageCacheContextsAndTags | function | core/ |
Asserts page cache miss, then hit for the given URL; checks cache headers. |
| AssertPageCacheContextsAndTagsTrait::enablePageCaching | function | core/ |
Enables page caching. |
| AssertPageCacheContextsAndTagsTrait::getCacheHeaderValues | function | core/ |
Gets a specific header value as array. |
| BarAccessPolicy::getPersistentCacheContexts | function | core/ |
Gets the persistent cache contexts. |
| BaseFieldOverrideResourceTestBase::getExpectedCacheContexts | function | core/ |
The expected cache contexts for the GET/HEAD response of the test entity. |
| BazAccessPolicy::getPersistentCacheContexts | function | core/ |
Gets the persistent cache contexts. |
| Block::$contexts | property | core/ |
The available contexts for this block and its visibility conditions. |
| BlockContentCacheTagsTest::getAccessCacheContextsForEntity | function | core/ |
|
| BlockContentResourceTestBase::getExpectedCacheContexts | function | core/ |
The expected cache contexts for the GET/HEAD response of the test entity. |
| BlockContentTest::getExpectedCacheContexts | function | core/ |
The expected cache contexts for the GET/HEAD response of the test entity. |
| BlockContentTranslationUITest::$defaultCacheContexts | property | core/ |
Default cache contexts expected on a non-translated entity. |
| BlockResourceTestBase::getExpectedCacheContexts | function | core/ |
The expected cache contexts for the GET/HEAD response of the test entity. |
| BlockTest::getExpectedCacheContexts | function | core/ |
The expected cache contexts for the GET/HEAD response of the test entity. |
| BreadcrumbFrontCacheContextsTest | class | core/ |
Tests breadcrumbs functionality. |
| BreadcrumbFrontCacheContextsTest.php | file | core/ |
|
| BreadcrumbFrontCacheContextsTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| BreadcrumbFrontCacheContextsTest::$modules | property | core/ |
Modules to install. |
| BreadcrumbFrontCacheContextsTest::$nodeWithAlias | property | core/ |
A test node with path alias. |
| BreadcrumbFrontCacheContextsTest::setUp | function | core/ |
|
| BreadcrumbFrontCacheContextsTest::testBreadcrumbsFrontPageCache | function | core/ |
Validate that breadcrumb markup get the right cache contexts. |
| BulkForm::getCacheContexts | function | core/ |
The cache contexts associated with this object. |
| Cache::mergeContexts | function | core/ |
Merges lists of cache contexts and removes duplicates. |
| CacheableDependencyInterface::getCacheContexts | function | core/ |
The cache contexts associated with this object. |
| CacheableDependencyTrait::$cacheContexts | property | core/ |
Cache contexts. |
| CacheableDependencyTrait::getCacheContexts | function | core/ |
|
| CacheableMetadata::getCacheContexts | function | core/ |
The cache contexts associated with this object. |
| CacheableMetadata::setCacheContexts | function | core/ |
Sets cache contexts. |
| CacheableMetadataCalculationTest::getCacheContexts | function | core/ |
The cache contexts associated with this object. |
| CacheContextsManager | class | core/ |
Converts cache context tokens into cache keys. |
| CacheContextsManager.php | file | core/ |
Pagination
- Page 1
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.