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 |
|---|---|---|---|
| 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. |
| SessionCacheContextTest::setUp | function | core/ |
|
| SessionCacheContextTest::testDifferentContextForDifferentSession | function | core/ |
@covers ::getContext[[api-linebreak]] |
| SessionCacheContextTest::testSameContextForSameSession | function | core/ |
@covers ::getContext[[api-linebreak]] |
| 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. |
| StringBase::$context | property | core/ |
The string context. |
| StringLoader::getSourceContext | function | core/ |
|
| SupernovaGenerator::getContext | function | core/ |
|
| SupernovaGenerator::setContext | function | core/ |
|
| SuperUserAccessPolicy::getPersistentCacheContexts | function | core/ |
Gets the persistent cache contexts. |
| SuperUserAccessPolicyTest::testGetPersistentCacheContexts | function | core/ |
Tests the getPersistentCacheContexts method. |
| SystemMenuBlock::getCacheContexts | function | core/ |
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.