ThemeCacheContext::__construct |
function |
core/lib/Drupal/Core/Cache/Context/ThemeCacheContext.php |
Constructs a new ThemeCacheContext service. |
Tid::getCacheContexts |
function |
core/modules/taxonomy/src/Plugin/views/argument_default/Tid.php |
The cache contexts associated with this object. |
TimeZoneCacheContext |
class |
core/lib/Drupal/Core/Cache/Context/TimeZoneCacheContext.php |
Defines the TimeZoneCacheContext service, for "per time zone" caching. |
TimeZoneCacheContext.php |
file |
core/lib/Drupal/Core/Cache/Context/TimeZoneCacheContext.php |
|
TimeZoneCacheContext::getCacheableMetadata |
function |
core/lib/Drupal/Core/Cache/Context/TimeZoneCacheContext.php |
Gets the cacheability metadata for the context. |
TimeZoneCacheContext::getContext |
function |
core/lib/Drupal/Core/Cache/Context/TimeZoneCacheContext.php |
Returns the string representation of the cache context. |
TimeZoneCacheContext::getLabel |
function |
core/lib/Drupal/Core/Cache/Context/TimeZoneCacheContext.php |
Returns the label of the cache context. |
TitleResolverTest::testStaticTitleWithContext |
function |
core/tests/Drupal/Tests/Core/Controller/TitleResolverTest.php |
Tests a static title with a context. |
TokenTest::$cacheContextManager |
property |
core/tests/Drupal/Tests/Core/Utility/TokenTest.php |
The cache contexts manager. |
ToolbarCacheContextsTest |
class |
core/modules/toolbar/tests/src/Functional/ToolbarCacheContextsTest.php |
Tests the cache contexts for toolbar. |
ToolbarCacheContextsTest.php |
file |
core/modules/toolbar/tests/src/Functional/ToolbarCacheContextsTest.php |
|
ToolbarCacheContextsTest::$adminUser |
property |
core/modules/toolbar/tests/src/Functional/ToolbarCacheContextsTest.php |
An authenticated user to use for testing. |
ToolbarCacheContextsTest::$adminUser2 |
property |
core/modules/toolbar/tests/src/Functional/ToolbarCacheContextsTest.php |
An authenticated user to use for testing. |
ToolbarCacheContextsTest::$defaultTheme |
property |
core/modules/toolbar/tests/src/Functional/ToolbarCacheContextsTest.php |
The theme to install as the default for testing. |
ToolbarCacheContextsTest::$modules |
property |
core/modules/toolbar/tests/src/Functional/ToolbarCacheContextsTest.php |
Modules to install. |
ToolbarCacheContextsTest::$perms |
property |
core/modules/toolbar/tests/src/Functional/ToolbarCacheContextsTest.php |
A list of default permissions for test users. |
ToolbarCacheContextsTest::assertToolbarCacheContexts |
function |
core/modules/toolbar/tests/src/Functional/ToolbarCacheContextsTest.php |
Tests that cache contexts are applied for both users. |
ToolbarCacheContextsTest::installExtraModules |
function |
core/modules/toolbar/tests/src/Functional/ToolbarCacheContextsTest.php |
Installs a given list of modules and rebuilds the cache. |
ToolbarCacheContextsTest::setUp |
function |
core/modules/toolbar/tests/src/Functional/ToolbarCacheContextsTest.php |
|
ToolbarCacheContextsTest::testCacheIntegration |
function |
core/modules/toolbar/tests/src/Functional/ToolbarCacheContextsTest.php |
Tests toolbar cache integration. |
ToolbarCacheContextsTest::testToolbarCacheContextsCaller |
function |
core/modules/toolbar/tests/src/Functional/ToolbarCacheContextsTest.php |
Tests toolbar cache contexts. |
TourResourceTestBase::getExpectedCacheContexts |
function |
core/modules/tour/tests/src/Functional/Rest/TourResourceTestBase.php |
The expected cache contexts for the GET/HEAD response of the test entity. |
TranslationLanguageRenderer::getCacheContexts |
function |
core/modules/views/src/Entity/Render/TranslationLanguageRenderer.php |
The cache contexts associated with this object. |
TwigComponentLoader::getSourceContext |
function |
core/modules/sdc/src/Twig/TwigComponentLoader.php |
|
TwigExtension::addAdditionalContext |
function |
core/modules/sdc/src/Twig/TwigExtension.php |
Appends additional context to the template based on the template id. |
TwigExtension::mergeAdditionalRenderContext |
function |
core/modules/sdc/src/Twig/TwigExtension.php |
Calculates additional context for this template. |
TypedData::setContext |
function |
core/lib/Drupal/Core/TypedData/TypedData.php |
Sets the context of a property or item via a context aware parent. |
TypedDataInterface::setContext |
function |
core/lib/Drupal/Core/TypedData/TypedDataInterface.php |
Sets the context of a property or item via a context aware parent. |
UncacheableDependencyTrait::getCacheContexts |
function |
core/lib/Drupal/Core/Cache/UncacheableDependencyTrait.php |
|
UnchangingCacheableDependencyTrait::getCacheContexts |
function |
core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php |
|
UrlCacheContext |
class |
core/lib/Drupal/Core/Cache/Context/UrlCacheContext.php |
Defines the UrlCacheContext service, for "per page" caching. |
UrlCacheContext.php |
file |
core/lib/Drupal/Core/Cache/Context/UrlCacheContext.php |
|
UrlCacheContext::getCacheableMetadata |
function |
core/lib/Drupal/Core/Cache/Context/UrlCacheContext.php |
Gets the cacheability metadata for the context. |
UrlCacheContext::getContext |
function |
core/lib/Drupal/Core/Cache/Context/UrlCacheContext.php |
Returns the string representation of the cache context. |
UrlCacheContext::getLabel |
function |
core/lib/Drupal/Core/Cache/Context/UrlCacheContext.php |
Returns the label of the cache context. |
UrlGenerator::$context |
property |
core/lib/Drupal/Core/Routing/UrlGenerator.php |
|
UrlGenerator::getContext |
function |
core/lib/Drupal/Core/Routing/UrlGenerator.php |
|
UrlGenerator::setContext |
function |
core/lib/Drupal/Core/Routing/UrlGenerator.php |
|
UrlGeneratorTest::$context |
property |
core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php |
The request context. |
user.current_user_context |
service |
core/modules/user/user.services.yml |
Drupal\user\ContextProvider\CurrentUserContext |
user.links.contextual.yml |
file |
core/modules/user/user.links.contextual.yml |
core/modules/user/user.links.contextual.yml |
User::getCacheContexts |
function |
core/modules/user/src/Plugin/views/argument_default/User.php |
The cache contexts associated with this object. |
UserCacheContext |
class |
core/lib/Drupal/Core/Cache/Context/UserCacheContext.php |
Defines the UserCacheContext service, for "per user" caching. |
UserCacheContext.php |
file |
core/lib/Drupal/Core/Cache/Context/UserCacheContext.php |
|
UserCacheContext::getCacheableMetadata |
function |
core/lib/Drupal/Core/Cache/Context/UserCacheContext.php |
Gets the cacheability metadata for the context. |
UserCacheContext::getContext |
function |
core/lib/Drupal/Core/Cache/Context/UserCacheContext.php |
Returns the string representation of the cache context. |
UserCacheContext::getLabel |
function |
core/lib/Drupal/Core/Cache/Context/UserCacheContext.php |
Returns the label of the cache context. |
UserCacheContextBase |
class |
core/lib/Drupal/Core/Cache/Context/UserCacheContextBase.php |
Base class for user-based cache contexts. |
UserCacheContextBase.php |
file |
core/lib/Drupal/Core/Cache/Context/UserCacheContextBase.php |
|
UserCacheContextBase::$user |
property |
core/lib/Drupal/Core/Cache/Context/UserCacheContextBase.php |
The account object. |