| RenderContext.php |
file |
core/lib/Drupal/Core/Render/RenderContext.php |
|
| RenderContext::bubble |
function |
core/lib/Drupal/Core/Render/RenderContext.php |
Bubbles the stack. |
| RenderContext::update |
function |
core/lib/Drupal/Core/Render/RenderContext.php |
Updates the current frame of the stack. |
| RenderedEntity::getCacheContexts |
function |
core/modules/views/src/Plugin/views/field/RenderedEntity.php |
The cache contexts associated with this object. |
| Renderer::$contextCollection |
property |
core/lib/Drupal/Core/Render/Renderer.php |
The render context collection. |
| Renderer::executeInRenderContext |
function |
core/lib/Drupal/Core/Render/Renderer.php |
Executes a callable within a render context. |
| Renderer::getCurrentRenderContext |
function |
core/lib/Drupal/Core/Render/Renderer.php |
Returns the current render context. |
| Renderer::hasRenderContext |
function |
core/lib/Drupal/Core/Render/Renderer.php |
Checks whether a render context is active. |
| Renderer::setCurrentRenderContext |
function |
core/lib/Drupal/Core/Render/Renderer.php |
Sets the current render context. |
| RendererBase::getCacheContexts |
function |
core/modules/views/src/Entity/Render/RendererBase.php |
The cache contexts associated with this object. |
| RendererBubblingTest::providerTestContextBubblingEdgeCases |
function |
core/tests/Drupal/Tests/Core/Render/RendererBubblingTest.php |
|
| RendererBubblingTest::testConditionalCacheContextBubblingSelfHealing |
function |
core/tests/Drupal/Tests/Core/Render/RendererBubblingTest.php |
Tests the self-healing of the redirect with conditional cache contexts. |
| RendererBubblingTest::testContextBubblingCustomCacheBin |
function |
core/tests/Drupal/Tests/Core/Render/RendererBubblingTest.php |
Tests cache context bubbling with a custom cache bin. |
| RendererBubblingTest::testContextBubblingEdgeCases |
function |
core/tests/Drupal/Tests/Core/Render/RendererBubblingTest.php |
Tests cache context bubbling in edge cases, because it affects the CID. |
| RendererInterface::executeInRenderContext |
function |
core/lib/Drupal/Core/Render/RendererInterface.php |
Executes a callable within a render context. |
| RendererInterface::hasRenderContext |
function |
core/lib/Drupal/Core/Render/RendererInterface.php |
Checks whether a render context is active. |
| RendererPlaceholdersTest::testNonScalarLazyBuilderCallbackContext |
function |
core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php |
Tests non scalar lazy builder callback context. |
| RendererPlaceholdersTest::testScalarLazyBuilderCallbackContext |
function |
core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php |
Tests scalar lazy builder callback context. |
| RendererTest::testExecuteInRenderContext |
function |
core/tests/Drupal/Tests/Core/Render/RendererTest.php |
Tests execute in render context. |
| RendererTest::testHasRenderContext |
function |
core/tests/Drupal/Tests/Core/Render/RendererTest.php |
Tests has render context. |
| RendererTestBase::$cacheContextsManager |
property |
core/tests/Drupal/Tests/Core/Render/RendererTestBase.php |
|
| RendererTestBase::randomContextValue |
function |
core/tests/Drupal/Tests/Core/Render/RendererTestBase.php |
Generates a random context value for the placeholder tests. |
| RenderWebTest::testWrapperFormatCacheContext |
function |
core/modules/system/tests/src/Functional/Common/RenderWebTest.php |
Asserts the cache context for the wrapper format is always present. |
| RequestContext |
class |
core/lib/Drupal/Core/Routing/RequestContext.php |
Holds information about the current request. |
| RequestContext.php |
file |
core/lib/Drupal/Core/Routing/RequestContext.php |
|
| RequestContext::$completeBaseUrl |
property |
core/lib/Drupal/Core/Routing/RequestContext.php |
The scheme, host and base path, for example "https://example.com/d8". |
| RequestContext::fromRequest |
function |
core/lib/Drupal/Core/Routing/RequestContext.php |
|
| RequestContext::fromRequestStack |
function |
core/lib/Drupal/Core/Routing/RequestContext.php |
Populates the context from the current request from the request stack. |
| RequestContext::getCompleteBaseUrl |
function |
core/lib/Drupal/Core/Routing/RequestContext.php |
Gets the scheme, host and base path. |
| RequestContext::setCompleteBaseUrl |
function |
core/lib/Drupal/Core/Routing/RequestContext.php |
Sets the complete base URL for the Request context. |
| RequestFormatCacheContext |
class |
core/lib/Drupal/Core/Cache/Context/RequestFormatCacheContext.php |
Defines the RequestFormatCacheContext service, for "per format" caching. |
| RequestFormatCacheContext.php |
file |
core/lib/Drupal/Core/Cache/Context/RequestFormatCacheContext.php |
|
| RequestFormatCacheContext::getCacheableMetadata |
function |
core/lib/Drupal/Core/Cache/Context/RequestFormatCacheContext.php |
|
| RequestFormatCacheContext::getContext |
function |
core/lib/Drupal/Core/Cache/Context/RequestFormatCacheContext.php |
|
| RequestFormatCacheContext::getLabel |
function |
core/lib/Drupal/Core/Cache/Context/RequestFormatCacheContext.php |
|
| RequestPath::getCacheContexts |
function |
core/modules/system/src/Plugin/Condition/RequestPath.php |
|
| RequestStackCacheContextBase |
class |
core/lib/Drupal/Core/Cache/Context/RequestStackCacheContextBase.php |
Defines a base class for cache contexts depending only on the request stack. |
| RequestStackCacheContextBase.php |
file |
core/lib/Drupal/Core/Cache/Context/RequestStackCacheContextBase.php |
|
| RequestStackCacheContextBase::$requestStack |
property |
core/lib/Drupal/Core/Cache/Context/RequestStackCacheContextBase.php |
The request stack. |
| RequestStackCacheContextBase::__construct |
function |
core/lib/Drupal/Core/Cache/Context/RequestStackCacheContextBase.php |
Constructs a new RequestStackCacheContextBase class. |
| ResourceResponseSubscriber::generateContext |
function |
core/modules/jsonapi/src/EventSubscriber/ResourceResponseSubscriber.php |
Generates a top-level JSON:API normalization context. |
| ResourceTestBase::getExpectedCacheContexts |
function |
core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php |
The expected cache contexts for the GET/HEAD response of the test entity. |
| ResourceVersionRouteEnhancer::CACHE_CONTEXT |
constant |
core/modules/jsonapi/src/Revisions/ResourceVersionRouteEnhancer.php |
The cache context by which vary the loaded entity revision. |
| ResponseStatus::getCacheContexts |
function |
core/modules/system/src/Plugin/Condition/ResponseStatus.php |
|
| RestResourceConfigResourceTestBase::getExpectedCacheContexts |
function |
core/modules/rest/tests/src/Functional/Rest/RestResourceConfigResourceTestBase.php |
The expected cache contexts for the GET/HEAD response of the test entity. |
| Role::getCacheContexts |
function |
core/modules/user/src/Plugin/views/access/Role.php |
The cache contexts associated with this object. |
| RouteCacheContext |
class |
core/lib/Drupal/Core/Cache/Context/RouteCacheContext.php |
Defines the RouteCacheContext service, for "per route" caching. |
| RouteCacheContext.php |
file |
core/lib/Drupal/Core/Cache/Context/RouteCacheContext.php |
|
| RouteCacheContext::$routeMatch |
property |
core/lib/Drupal/Core/Cache/Context/RouteCacheContext.php |
The route match. |
| RouteCacheContext::getCacheableMetadata |
function |
core/lib/Drupal/Core/Cache/Context/RouteCacheContext.php |
Gets the cacheability metadata for the context. |