Search for context
- Search 7.x for context
- Search 9.5.x for context
- Search 8.9.x for context
- Search 10.3.x for context
- Other projects
Exact matches
Title | Object type | File name | Summary |
---|---|---|---|
Context | class | core/ |
A Drupal specific context wrapper class. |
Context | class | core/ |
A generic context class for wrapping data a plugin needs to operate. |
All search results
Title | Object type | File name | Summary |
---|---|---|---|
RenderContext::bubble | function | core/ |
Bubbles the stack. |
RenderContext::update | function | core/ |
Updates the current frame of the stack. |
RenderedEntity::getCacheContexts | function | core/ |
The cache contexts associated with this object. |
Renderer::$contextCollection | property | core/ |
The render context collection. |
Renderer::executeInRenderContext | function | core/ |
Executes a callable within a render context. |
Renderer::getCurrentRenderContext | function | core/ |
Returns the current render context. |
Renderer::hasRenderContext | function | core/ |
Checks whether a render context is active. |
Renderer::setCurrentRenderContext | function | core/ |
Sets the current render context. |
RendererBase::getCacheContexts | function | core/ |
The cache contexts associated with this object. |
RendererBubblingTest::providerTestContextBubblingEdgeCases | function | core/ |
|
RendererBubblingTest::testConditionalCacheContextBubblingSelfHealing | function | core/ |
Tests the self-healing of the redirect with conditional cache contexts. |
RendererBubblingTest::testContextBubblingCustomCacheBin | function | core/ |
Tests cache context bubbling with a custom cache bin. |
RendererBubblingTest::testContextBubblingEdgeCases | function | core/ |
Tests cache context bubbling in edge cases, because it affects the CID. |
RendererInterface::executeInRenderContext | function | core/ |
Executes a callable within a render context. |
RendererInterface::hasRenderContext | function | core/ |
Checks whether a render context is active. |
RendererPlaceholdersTest::testNonScalarLazyBuilderCallbackContext | function | core/ |
@covers ::render @covers ::doRender |
RendererPlaceholdersTest::testScalarLazyBuilderCallbackContext | function | core/ |
@covers ::render @covers ::doRender |
RendererTestBase::$cacheContextsManager | property | core/ |
|
RendererTestBase::randomContextValue | function | core/ |
Generates a random context value for the placeholder tests. |
RenderWebTest::testWrapperFormatCacheContext | function | core/ |
Asserts the cache context for the wrapper format is always present. |
RequestContext | class | core/ |
Holds information about the current request. |
RequestContext.php | file | core/ |
|
RequestContext::$completeBaseUrl | property | core/ |
The scheme, host and base path, for example "http://example.com/d8". |
RequestContext::fromRequest | function | core/ |
|
RequestContext::fromRequestStack | function | core/ |
Populates the context from the current request from the request stack. |
RequestContext::getCompleteBaseUrl | function | core/ |
Gets the scheme, host and base path. |
RequestContext::setCompleteBaseUrl | function | core/ |
Sets the complete base URL for the Request context. |
RequestFormatCacheContext | class | core/ |
Defines the RequestFormatCacheContext service, for "per format" caching. |
RequestFormatCacheContext.php | file | core/ |
|
RequestFormatCacheContext::getCacheableMetadata | function | core/ |
|
RequestFormatCacheContext::getContext | function | core/ |
|
RequestFormatCacheContext::getLabel | function | core/ |
|
RequestPath::getCacheContexts | function | core/ |
|
RequestStackCacheContextBase | class | core/ |
Defines a base class for cache contexts depending only on the request stack. |
RequestStackCacheContextBase.php | file | core/ |
|
RequestStackCacheContextBase::$requestStack | property | core/ |
The request stack. |
RequestStackCacheContextBase::__construct | function | core/ |
Constructs a new RequestStackCacheContextBase class. |
ResourceResponseSubscriber::generateContext | function | core/ |
Generates a top-level JSON:API normalization context. |
ResourceTestBase::getExpectedCacheContexts | function | core/ |
The expected cache contexts for the GET/HEAD response of the test entity. |
ResourceVersionRouteEnhancer::CACHE_CONTEXT | constant | core/ |
The cache context by which vary the loaded entity revision. |
ResponseStatus::getCacheContexts | function | core/ |
|
RestResourceConfigResourceTestBase::getExpectedCacheContexts | function | core/ |
The expected cache contexts for the GET/HEAD response of the test entity. |
Role::getCacheContexts | function | core/ |
The cache contexts associated with this object. |
RouteCacheContext | class | core/ |
Defines the RouteCacheContext service, for "per route" caching. |
RouteCacheContext.php | file | core/ |
|
RouteCacheContext::$routeMatch | property | core/ |
The route match. |
RouteCacheContext::getCacheableMetadata | function | core/ |
Gets the cacheability metadata for the context. |
RouteCacheContext::getContext | function | core/ |
Returns the string representation of the cache context. |
RouteCacheContext::getLabel | function | core/ |
Returns the label of the cache context. |
RouteCacheContext::__construct | function | core/ |
Constructs a new RouteCacheContext class. |
Pagination
- Previous page
- Page 27
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.