Search for context
- Search 7.x for context
- Search 9.5.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 |
---|---|---|---|
RendererPlaceholdersTest::testScalarLazybuilderCallbackContext | function | core/ |
@covers ::render @covers ::doRender |
RendererTestBase::$cacheContexts | 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/ |
The cache contexts associated with this object. |
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. |
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. |
RouteNameCacheContext | class | core/ |
Defines the RouteCacheContext service, for "per route name" caching. |
RouteNameCacheContext.php | file | core/ |
|
RouteNameCacheContext::getContext | function | core/ |
Returns the string representation of the cache context. |
RouteNameCacheContext::getLabel | function | core/ |
Returns the label of the cache context. |
router.admin_context | service | core/ |
Drupal\Core\Routing\AdminContext |
router.request_context | service | core/ |
Drupal\Core\Routing\RequestContext |
SectionComponent::contextHandler | function | core/ |
Wraps the context handler. |
SectionComponentBuildRenderArrayEvent::$contexts | property | core/ |
The available contexts. |
SectionComponentBuildRenderArrayEvent::getContexts | function | core/ |
Get the available contexts. |
SectionRenderTest::$contextHandler | property | core/ |
The plugin context handler. |
SectionRenderTest::$contextRepository | property | core/ |
The context manager service. |
SectionRenderTest::testContextAwareBlock | function | core/ |
@covers ::toRenderArray |
SectionStorage::$context_definitions | property | core/ |
Any required context definitions, optional. |
SectionStorageBase::getContextsDuringPreview | function | core/ |
Gets contexts for use during preview. |
SectionStorageInterface::deriveContextsFromRoute | function | core/ |
Derives the available plugin contexts from route values. |
SectionStorageInterface::getContextsDuringPreview | function | core/ |
Gets contexts for use during preview. |
SectionStorageManager::$contextHandler | property | core/ |
The context handler. |
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.