Search for context
- Search 7.x for context
- Search 9.5.x for context
- Search 8.9.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 |
---|---|---|---|
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(). |
session_exists_cache_context_test.info.yml | file | core/ |
core/modules/system/tests/modules/session_exists_cache_context_test/session_exists_cache_context_test.info.yml |
session_exists_cache_context_test.module | file | core/ |
Test module. |
session_exists_cache_context_test_page_top | function | core/ |
Implements hook_page_top(). |
settings_tray.links.contextual.yml | file | core/ |
core/modules/settings_tray/settings_tray.links.contextual.yml |
settings_tray_contextual_links_view_alter | function | core/ |
Implements hook_contextual_links_view_alter(). |
ShortcutTranslationUITest::$defaultCacheContexts | property | core/ |
Default cache contexts expected on a non-translated entity. |
SimpleConfigSectionStorage::deriveContextsFromRoute | function | core/ |
Derives the available plugin contexts from route values. |
SimpleConfigSectionStorage::getContextsDuringPreview | function | core/ |
Gets contexts for use during preview. |
SiteCacheContext | class | core/ |
Defines the SiteCacheContext service, for "per site" caching. |
SiteCacheContext.php | file | core/ |
|
SiteCacheContext::getCacheableMetadata | function | core/ |
Gets the cacheability metadata for the context. |
SiteCacheContext::getContext | function | core/ |
Returns the string representation of the cache context. |
SiteCacheContext::getLabel | function | core/ |
Returns the label of the cache context. |
SiteInformationForm::$requestContext | property | core/ |
The request context. |
SortPluginBase::getCacheContexts | function | core/ |
The cache contexts associated with this object. |
SqlBase::getCacheContexts | function | core/ |
The cache contexts associated with this object. |
Status::getCacheContexts | function | core/ |
The cache contexts associated with this object. |
Status::getCacheContexts | function | core/ |
The cache contexts associated with this object. |
StringArgument::getContextDefinition | function | core/ |
Returns a context definition for this argument. |
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.