Search for context
- Search 7.x for context
- Search 8.9.x for context
- Search 10.3.x for context
- Search 11.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 |
---|---|---|---|
RecursiveContextualValidatorTest::testValidateWithoutTypedData | function | core/ |
Ensures that passing a non typed data value is not supported. |
RecursiveValidator::$contextFactory | property | core/ |
|
RecursiveValidator::inContext | function | core/ |
|
RecursiveValidator::startContext | function | core/ |
|
RedirectResponseSubscriber::$requestContext | property | core/ |
The request context. |
RedirectResponseSubscriberTest::$requestContext | property | core/ |
The mocked request context. |
RefinableCacheableDependencyInterface::addCacheContexts | function | core/ |
Adds cache contexts. |
RefinableCacheableDependencyTrait::addCacheContexts | function | core/ |
|
Relationship::$context | property | core/ |
The context resource object of the relationship. |
Relationship::getContext | function | core/ |
Gets context resource object of the relationship. |
RenderCache::$cacheContextsManager | property | core/ |
The cache contexts manager. |
RenderCacheIntegrationTest::testBuildRenderableWithCacheContexts | function | core/ |
Ensure that the view renderable contains the cache contexts. |
RenderCacheTest::doTestUser1WithContexts | function | core/ |
Ensures that user 1 has a unique render cache for the given context. |
RenderCacheTest::testUser1PermissionContext | function | core/ |
Tests that user 1 has a different permission context with the same roles. |
RenderCacheTest::testUser1RolesContext | function | core/ |
Tests that user 1 has a different roles context with the same roles. |
RenderContext | class | core/ |
The render context: a stack containing bubbleable rendering metadata. |
RenderContext.php | file | core/ |
|
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/ |
|
Renderer::getCurrentRenderContext | function | core/ |
Returns the current render context. |
Renderer::hasRenderContext | function | core/ |
|
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/ |
Pagination
- Previous page
- Page 28
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.