| 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 |
|
| SuperUserAccessPolicy::getPersistentCacheContexts |
function |
core/lib/Drupal/Core/Session/SuperUserAccessPolicy.php |
Gets the persistent cache contexts. |
| SuperUserAccessPolicyTest::testGetPersistentCacheContexts |
function |
core/tests/Drupal/Tests/Core/Session/SuperUserAccessPolicyTest.php |
Tests the getPersistentCacheContexts method. |
| 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 |
| 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 |
Tests Drupal\taxonomy\ContextProvider\TermRouteContext. |
| TermContextTest.php |
file |
core/modules/taxonomy/tests/src/Kernel/ContextProvider/TermContextTest.php |
|
| TermContextTest::$modules |
property |
core/modules/taxonomy/tests/src/Kernel/ContextProvider/TermContextTest.php |
Modules to install. |
| TermContextTest::setUp |
function |
core/modules/taxonomy/tests/src/Kernel/ContextProvider/TermContextTest.php |
|
| TermContextTest::testGetAvailableContexts |
function |
core/modules/taxonomy/tests/src/Kernel/ContextProvider/TermContextTest.php |
Tests get available contexts. |
| TermContextTest::testGetRuntimeContexts |
function |
core/modules/taxonomy/tests/src/Kernel/ContextProvider/TermContextTest.php |
Tests get runtime contexts. |
| TermContextualLinksTest |
class |
core/modules/taxonomy/tests/src/Functional/TermContextualLinksTest.php |
Tests views contextual links on terms. |
| TermContextualLinksTest.php |
file |
core/modules/taxonomy/tests/src/Functional/TermContextualLinksTest.php |
|
| TermContextualLinksTest::$defaultTheme |
property |
core/modules/taxonomy/tests/src/Functional/TermContextualLinksTest.php |
The theme to install as the default for testing. |
| TermContextualLinksTest::$modules |
property |
core/modules/taxonomy/tests/src/Functional/TermContextualLinksTest.php |
Modules to install. |
| TermContextualLinksTest::testTermContextualLinks |
function |
core/modules/taxonomy/tests/src/Functional/TermContextualLinksTest.php |
Tests contextual links. |
| TermResourceTestBase::getExpectedCacheContexts |
function |
core/modules/taxonomy/tests/src/Functional/Rest/TermResourceTestBase.php |
The expected cache contexts for the GET/HEAD response of the test entity. |
| TermRouteContext |
class |
core/modules/taxonomy/src/ContextProvider/TermRouteContext.php |
Sets the current taxonomy term as a context on taxonomy term routes. |
| TermRouteContext.php |
file |
core/modules/taxonomy/src/ContextProvider/TermRouteContext.php |
|
| TermRouteContext::$routeMatch |
property |
core/modules/taxonomy/src/ContextProvider/TermRouteContext.php |
The route match object. |
| TermRouteContext::getAvailableContexts |
function |
core/modules/taxonomy/src/ContextProvider/TermRouteContext.php |
Gets all available contexts for the purposes of configuration. |
| TermRouteContext::getRuntimeContexts |
function |
core/modules/taxonomy/src/ContextProvider/TermRouteContext.php |
Gets runtime context values for the given context IDs. |
| TermRouteContext::__construct |
function |
core/modules/taxonomy/src/ContextProvider/TermRouteContext.php |
Constructs a new TermRouteContext. |
| TermTest::getExpectedCacheContexts |
function |
core/modules/jsonapi/tests/src/Functional/TermTest.php |
The expected cache contexts for the GET/HEAD response of the test entity. |
| TermTranslationUITest::$defaultCacheContexts |
property |
core/modules/taxonomy/tests/src/Functional/TermTranslationUITest.php |
Default cache contexts expected on a non-translated entity. |
| TermTranslationViewsTest::testTermsTranslationWithContextualFilter |
function |
core/modules/taxonomy/tests/src/Functional/Views/TermTranslationViewsTest.php |
Ensure that proper translation is returned when contextual filter. |
| TestCacheableDependency::$contexts |
property |
core/tests/Drupal/Tests/Core/Render/TestCacheableDependency.php |
The cache contexts. |
| TestCacheableDependency::getCacheContexts |
function |
core/tests/Drupal/Tests/Core/Render/TestCacheableDependency.php |
The cache contexts associated with this object. |
| TestCacheBlock::getCacheContexts |
function |
core/modules/block/tests/modules/block_test/src/Plugin/Block/TestCacheBlock.php |
|
| TestCacheOptionalBlock::getCacheContexts |
function |
core/modules/block/tests/modules/block_test/src/Plugin/Block/TestCacheOptionalBlock.php |
|
| TestConfigurableContextAwarePlugin |
class |
core/tests/Drupal/KernelTests/Core/Plugin/Context/ContextAwarePluginTraitTest.php |
Configurable context aware plugin test class. |
| TestConfigurableContextAwarePlugin::defaultConfiguration |
function |
core/tests/Drupal/KernelTests/Core/Plugin/Context/ContextAwarePluginTraitTest.php |
Gets default configuration for this plugin. |
| TestConfigurableContextAwarePlugin::getConfiguration |
function |
core/tests/Drupal/KernelTests/Core/Plugin/Context/ContextAwarePluginTraitTest.php |
Gets this plugin's configuration. |
| TestConfigurableContextAwarePlugin::setConfiguration |
function |
core/tests/Drupal/KernelTests/Core/Plugin/Context/ContextAwarePluginTraitTest.php |
Sets the configuration for this plugin instance. |
| TestConfigurableContextAwarePluginInterface |
interface |
core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php |
Test interface used for creating mock classes in tests. |