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 |
|---|---|---|---|
| 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::testConstructNoContextHandler | function | core/ |
@covers ::__construct[[api-linebreak]] |
| 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. |
| SessionCacheContextTest::setUp | function | core/ |
|
| SessionCacheContextTest::testContextWithoutSessionInRequest | function | core/ |
@covers ::getContext[[api-linebreak]] |
| 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 enable. |
| 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(). |
| SevenLayoutBuilderTest::testContextualLinks | function | core/ |
Tests the layout builder has expected contextual links with Seven. |
| ShortcutHalJsonAnonTest::getExpectedCacheContexts | function | core/ |
The expected cache contexts for the GET/HEAD response of the test entity. |
| ShortcutTranslationUITest::$defaultCacheContexts | property | core/ |
{inheritdoc} |
| 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. |
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.