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 |
---|---|---|---|
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. |
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 |
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/ |
|
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 |
SectionStorageManagerTest::testFindByContextCacheableSectionStorage | function | core/ |
@covers ::findByContext |
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 @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. |
SessionCacheContextTest::setUp | function | core/ |
|
SessionCacheContextTest::testDifferentContextForDifferentSession | function | core/ |
@covers ::getContext |
SessionCacheContextTest::testSameContextForSameSession | function | core/ |
@covers ::getContext |
SessionExistsCacheContext | class | core/ |
Defines the SessionExistsCacheContext service, for "session or not" caching. |
SessionExistsCacheContext.php | file | core/ |
|
SessionExistsCacheContext::$requestStack | property | core/ |
The request stack. |
SessionExistsCacheContext::$sessionConfiguration | property | core/ |
The session configuration. |
SessionExistsCacheContext::getCacheableMetadata | function | core/ |
Gets the cacheability metadata for the context. |
SessionExistsCacheContext::getContext | function | core/ |
Returns the string representation of the cache context. |
SessionExistsCacheContext::getLabel | function | core/ |
Returns the label of the cache context. |
SessionExistsCacheContext::__construct | function | core/ |
Constructs a new SessionExistsCacheContext class. |
SessionExistsCacheContextTest | class | core/ |
Tests the 'session.exists' cache context service. |
SessionExistsCacheContextTest.php | file | core/ |
|
SessionExistsCacheContextTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
SessionExistsCacheContextTest::$modules | property | core/ |
Modules to install. |
SessionExistsCacheContextTest::assertSessionCookieOnClient | function | core/ |
Asserts whether a session cookie is present on the client or not. |
SessionExistsCacheContextTest::testCacheContext | function | core/ |
Tests \Drupal\Core\Cache\Context\SessionExistsCacheContext::getContext(). |
SessionExistsCacheContextTestHooks | class | core/ |
Hook implementations for session_exists_cache_context_test. |
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.