| SessionCacheContextTest::setUp |
function |
core/tests/Drupal/Tests/Core/Cache/Context/SessionCacheContextTest.php |
|
| SessionCacheContextTest::testContextWithoutSessionInRequest |
function |
core/tests/Drupal/Tests/Core/Cache/Context/SessionCacheContextTest.php |
@covers ::getContext[[api-linebreak]] |
| SessionCacheContextTest::testDifferentContextForDifferentSession |
function |
core/tests/Drupal/Tests/Core/Cache/Context/SessionCacheContextTest.php |
@covers ::getContext[[api-linebreak]] |
| SessionCacheContextTest::testSameContextForSameSession |
function |
core/tests/Drupal/Tests/Core/Cache/Context/SessionCacheContextTest.php |
@covers ::getContext[[api-linebreak]] |
| 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 enable. |
| 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(). |
| 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 |
| session_exists_cache_context_test.module |
file |
core/modules/system/tests/modules/session_exists_cache_context_test/session_exists_cache_context_test.module |
Test module. |
| session_exists_cache_context_test_page_top |
function |
core/modules/system/tests/modules/session_exists_cache_context_test/session_exists_cache_context_test.module |
Implements hook_page_top(). |
| settings_tray.links.contextual.yml |
file |
core/modules/settings_tray/settings_tray.links.contextual.yml |
core/modules/settings_tray/settings_tray.links.contextual.yml |
| settings_tray_contextual_links_view_alter |
function |
core/modules/settings_tray/settings_tray.module |
Implements hook_contextual_links_view_alter(). |
| SevenLayoutBuilderTest::testContextualLinks |
function |
core/themes/seven/tests/src/Functional/SevenLayoutBuilderTest.php |
Tests the layout builder has expected contextual links with Seven. |
| ShortcutHalJsonAnonTest::getExpectedCacheContexts |
function |
core/modules/hal/tests/src/Functional/shortcut/ShortcutHalJsonAnonTest.php |
The expected cache contexts for the GET/HEAD response of the test entity. |
| 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 |
|
| SiteCacheContext::getCacheableMetadata |
function |
core/lib/Drupal/Core/Cache/Context/SiteCacheContext.php |
Gets the cacheability metadata for the context. |
| SiteCacheContext::getContext |
function |
core/lib/Drupal/Core/Cache/Context/SiteCacheContext.php |
Returns the string representation of the cache context. |
| SiteCacheContext::getLabel |
function |
core/lib/Drupal/Core/Cache/Context/SiteCacheContext.php |
Returns the label of the cache context. |
| SiteInformationForm::$requestContext |
property |
core/modules/system/src/Form/SiteInformationForm.php |
The request context. |
| SortPluginBase::getCacheContexts |
function |
core/modules/views/src/Plugin/views/sort/SortPluginBase.php |
The cache contexts associated with this object. |
| SqlBase::getCacheContexts |
function |
core/modules/views/src/Plugin/views/pager/SqlBase.php |
The cache contexts associated with this object. |
| Status::getCacheContexts |
function |
core/modules/media/src/Plugin/views/filter/Status.php |
The cache contexts associated with this object. |
| Status::getCacheContexts |
function |
core/modules/node/src/Plugin/views/filter/Status.php |
The cache contexts associated with this object. |
| StringArgument::getContextDefinition |
function |
core/modules/views/src/Plugin/views/argument/StringArgument.php |
Returns a context definition for this argument. |
| StringBase::$context |
property |
core/modules/locale/src/StringBase.php |
The string context. |
| StringLoader::getSourceContext |
function |
core/lib/Drupal/Core/Template/Loader/StringLoader.php |
|
| SupernovaGenerator::getContext |
function |
core/modules/help/tests/modules/help_test/src/SupernovaGenerator.php |
|
| SupernovaGenerator::setContext |
function |
core/modules/help/tests/modules/help_test/src/SupernovaGenerator.php |
|
| SystemMenuBlock::getCacheContexts |
function |
core/modules/system/src/Plugin/Block/SystemMenuBlock.php |
|
| Table::getCacheContexts |
function |
core/modules/views/src/Plugin/views/style/Table.php |
The cache contexts associated with this object. |
| TableSort::getContextFromRequest |
function |
core/lib/Drupal/Core/Utility/TableSort.php |
Initializes the table sort context. |
| taxonomy.links.contextual.yml |
file |
core/modules/taxonomy/taxonomy.links.contextual.yml |
core/modules/taxonomy/taxonomy.links.contextual.yml |
| TaxonomyIndexTid::getCacheContexts |
function |
core/modules/taxonomy/src/Plugin/views/filter/TaxonomyIndexTid.php |
The cache contexts associated with this object. |
| taxonomy_term.taxonomy_term_route_context |
service |
core/modules/taxonomy/taxonomy.services.yml |
Drupal\taxonomy\ContextProvider\TermRouteContext |
| TermContextTest |
class |
core/modules/taxonomy/tests/src/Kernel/ContextProvider/TermContextTest.php |
@coversDefaultClass \Drupal\taxonomy\ContextProvider\TermRouteContext[[api-linebreak]] |