| SectionRenderTest::testContextAwareBlock |
function |
core/modules/layout_builder/tests/src/Unit/SectionRenderTest.php |
Tests context aware block. |
| SectionStorage::$context_definitions |
property |
core/modules/layout_builder/src/Annotation/SectionStorage.php |
Any required context definitions, optional. |
| SectionStorageBase::getContextsDuringPreview |
function |
core/modules/layout_builder/src/Plugin/SectionStorage/SectionStorageBase.php |
Gets contexts for use during preview. |
| SectionStorageInterface::deriveContextsFromRoute |
function |
core/modules/layout_builder/src/SectionStorageInterface.php |
Derives the available plugin contexts from route values. |
| SectionStorageInterface::getContextsDuringPreview |
function |
core/modules/layout_builder/src/SectionStorageInterface.php |
Gets contexts for use during preview. |
| SectionStorageManager::$contextHandler |
property |
core/modules/layout_builder/src/SectionStorage/SectionStorageManager.php |
The context handler. |
| SectionStorageManager::findByContext |
function |
core/modules/layout_builder/src/SectionStorage/SectionStorageManager.php |
Finds the section storage to load based on available contexts. |
| SectionStorageManagerInterface::findByContext |
function |
core/modules/layout_builder/src/SectionStorage/SectionStorageManagerInterface.php |
Finds the section storage to load based on available contexts. |
| SectionStorageManagerTest::$contextHandler |
property |
core/modules/layout_builder/tests/src/Unit/SectionStorageManagerTest.php |
The context handler. |
| SectionStorageManagerTest::providerTestFindByContext |
function |
core/modules/layout_builder/tests/src/Unit/SectionStorageManagerTest.php |
Provides test data for ::testFindByContext(). |
| SectionStorageManagerTest::testFindByContext |
function |
core/modules/layout_builder/tests/src/Unit/SectionStorageManagerTest.php |
Tests find by context. |
| SectionStorageManagerTest::testFindByContextCacheableSectionStorage |
function |
core/modules/layout_builder/tests/src/Unit/SectionStorageManagerTest.php |
Tests find by context cacheable section storage. |
| Serializer::getCacheContexts |
function |
core/modules/rest/src/Plugin/views/style/Serializer.php |
The cache contexts associated with this object. |
| SessionCacheContext |
class |
core/lib/Drupal/Core/Cache/Context/SessionCacheContext.php |
Defines the SessionCacheContext service, for "per session" caching. |
| SessionCacheContext.php |
file |
core/lib/Drupal/Core/Cache/Context/SessionCacheContext.php |
|
| SessionCacheContext::getContext |
function |
core/lib/Drupal/Core/Cache/Context/SessionCacheContext.php |
|
| SessionCacheContext::getLabel |
function |
core/lib/Drupal/Core/Cache/Context/SessionCacheContext.php |
|
| SessionCacheContextTest |
class |
core/tests/Drupal/Tests/Core/Cache/Context/SessionCacheContextTest.php |
Tests Drupal\Core\Cache\Context\SessionCacheContext. |
| SessionCacheContextTest.php |
file |
core/tests/Drupal/Tests/Core/Cache/Context/SessionCacheContextTest.php |
|
| SessionCacheContextTest::$request |
property |
core/tests/Drupal/Tests/Core/Cache/Context/SessionCacheContextTest.php |
The request. |
| SessionCacheContextTest::$requestStack |
property |
core/tests/Drupal/Tests/Core/Cache/Context/SessionCacheContextTest.php |
The request stack. |
| SessionCacheContextTest::$session |
property |
core/tests/Drupal/Tests/Core/Cache/Context/SessionCacheContextTest.php |
The session object. |
| SessionCacheContextTest::setUp |
function |
core/tests/Drupal/Tests/Core/Cache/Context/SessionCacheContextTest.php |
|
| SessionCacheContextTest::testDifferentContextForDifferentSession |
function |
core/tests/Drupal/Tests/Core/Cache/Context/SessionCacheContextTest.php |
Tests different context for different session. |
| SessionCacheContextTest::testSameContextForSameSession |
function |
core/tests/Drupal/Tests/Core/Cache/Context/SessionCacheContextTest.php |
Tests same context for same session. |
| SessionExistsCacheContext |
class |
core/lib/Drupal/Core/Cache/Context/SessionExistsCacheContext.php |
Defines the SessionExistsCacheContext service, for "session or not" caching. |
| SessionExistsCacheContext.php |
file |
core/lib/Drupal/Core/Cache/Context/SessionExistsCacheContext.php |
|
| SessionExistsCacheContext::$requestStack |
property |
core/lib/Drupal/Core/Cache/Context/SessionExistsCacheContext.php |
The request stack. |
| SessionExistsCacheContext::$sessionConfiguration |
property |
core/lib/Drupal/Core/Cache/Context/SessionExistsCacheContext.php |
The session configuration. |
| SessionExistsCacheContext::getCacheableMetadata |
function |
core/lib/Drupal/Core/Cache/Context/SessionExistsCacheContext.php |
Gets the cacheability metadata for the context. |
| SessionExistsCacheContext::getContext |
function |
core/lib/Drupal/Core/Cache/Context/SessionExistsCacheContext.php |
Returns the string representation of the cache context. |
| SessionExistsCacheContext::getLabel |
function |
core/lib/Drupal/Core/Cache/Context/SessionExistsCacheContext.php |
Returns the label of the cache context. |
| SessionExistsCacheContext::__construct |
function |
core/lib/Drupal/Core/Cache/Context/SessionExistsCacheContext.php |
Constructs a new SessionExistsCacheContext class. |
| SessionExistsCacheContextTest |
class |
core/modules/system/tests/src/Functional/Cache/SessionExistsCacheContextTest.php |
Tests the 'session.exists' cache context service. |
| SessionExistsCacheContextTest.php |
file |
core/modules/system/tests/src/Functional/Cache/SessionExistsCacheContextTest.php |
|
| SessionExistsCacheContextTest::$defaultTheme |
property |
core/modules/system/tests/src/Functional/Cache/SessionExistsCacheContextTest.php |
The theme to install as the default for testing. |
| SessionExistsCacheContextTest::$modules |
property |
core/modules/system/tests/src/Functional/Cache/SessionExistsCacheContextTest.php |
Modules to install. |
| SessionExistsCacheContextTest::assertSessionCookieOnClient |
function |
core/modules/system/tests/src/Functional/Cache/SessionExistsCacheContextTest.php |
Asserts whether a session cookie is present on the client or not. |
| SessionExistsCacheContextTest::testCacheContext |
function |
core/modules/system/tests/src/Functional/Cache/SessionExistsCacheContextTest.php |
Tests \Drupal\Core\Cache\Context\SessionExistsCacheContext::getContext(). |
| SessionExistsCacheContextTestHooks |
class |
core/modules/system/tests/modules/session_exists_cache_context_test/src/Hook/SessionExistsCacheContextTestHooks.php |
Hook implementations for session_exists_cache_context_test. |
| SessionExistsCacheContextTestHooks.php |
file |
core/modules/system/tests/modules/session_exists_cache_context_test/src/Hook/SessionExistsCacheContextTestHooks.php |
|
| SessionExistsCacheContextTestHooks::pageTop |
function |
core/modules/system/tests/modules/session_exists_cache_context_test/src/Hook/SessionExistsCacheContextTestHooks.php |
Implements hook_page_top(). |
| session_exists_cache_context_test.info.yml |
file |
core/modules/system/tests/modules/session_exists_cache_context_test/session_exists_cache_context_test.info.yml |
core/modules/system/tests/modules/session_exists_cache_context_test/session_exists_cache_context_test.info.yml |
| SettingsTrayHooks::contextualLinksViewAlter |
function |
core/modules/settings_tray/src/Hook/SettingsTrayHooks.php |
Implements hook_contextual_links_view_alter(). |
| settings_tray.links.contextual.yml |
file |
core/modules/settings_tray/settings_tray.links.contextual.yml |
core/modules/settings_tray/settings_tray.links.contextual.yml |
| ShortcutTranslationUITest::$defaultCacheContexts |
property |
core/modules/shortcut/tests/src/Functional/ShortcutTranslationUITest.php |
Default cache contexts expected on a non-translated entity. |
| SimpleConfigSectionStorage::deriveContextsFromRoute |
function |
core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/SectionStorage/SimpleConfigSectionStorage.php |
Derives the available plugin contexts from route values. |
| SimpleConfigSectionStorage::getContextsDuringPreview |
function |
core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/SectionStorage/SimpleConfigSectionStorage.php |
Gets contexts for use during preview. |
| SiteCacheContext |
class |
core/lib/Drupal/Core/Cache/Context/SiteCacheContext.php |
Defines the SiteCacheContext service, for "per site" caching. |
| SiteCacheContext.php |
file |
core/lib/Drupal/Core/Cache/Context/SiteCacheContext.php |
|