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 |
|---|---|---|---|
| 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 |
| Section::contextHandler | function | core/ |
Wraps the context handler. |
| 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[[api-linebreak]] |
| 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. |
| SectionStorageManager::findByContext | function | core/ |
Finds the section storage to load based on available contexts. |
| SectionStorageManagerInterface::findByContext | function | core/ |
Finds the section storage to load based on available contexts. |
| SectionStorageManagerTest::$contextHandler | property | core/ |
The context handler. |
| SectionStorageManagerTest::providerTestFindByContext | function | core/ |
Provides test data for ::testFindByContext(). |
| SectionStorageManagerTest::testFindByContext | function | core/ |
@covers ::findByContext[[api-linebreak]] |
| SectionStorageManagerTest::testFindByContextCacheableSectionStorage | function | core/ |
@covers ::findByContext[[api-linebreak]] |
| Serializer::getCacheContexts | function | core/ |
The cache contexts associated with this object. |
| SessionCacheContext | class | core/ |
Defines the SessionCacheContext service, for "per session" caching. |
| SessionCacheContext.php | file | core/ |
|
| SessionCacheContext::getContext | function | core/ |
|
| SessionCacheContext::getLabel | function | core/ |
|
| SessionCacheContextTest | class | core/ |
@coversDefaultClass \Drupal\Core\Cache\Context\SessionCacheContext[[api-linebreak]] @group Cache |
| SessionCacheContextTest.php | file | core/ |
|
| SessionCacheContextTest::$request | property | core/ |
The request. |
| SessionCacheContextTest::$requestStack | property | core/ |
The request stack. |
| SessionCacheContextTest::$session | property | core/ |
The session object. |
Pagination
- Previous page
- Page 29
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.