CacheContextsManagerTest::testValidateContexts |
function |
core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php |
@covers ::validateTokens |
CacheContextsManagerTest::validateTokensProvider |
function |
core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php |
Provides a list of cache context token arrays. |
CacheContextsPass |
class |
core/lib/Drupal/Core/Cache/Context/CacheContextsPass.php |
Adds cache_contexts parameter to the container. |
CacheContextsPass.php |
file |
core/lib/Drupal/Core/Cache/Context/CacheContextsPass.php |
|
CacheContextsPass::process |
function |
core/lib/Drupal/Core/Cache/Context/CacheContextsPass.php |
Implements CompilerPassInterface::process(). |
CacheTest::testCacheContextIntegration |
function |
core/modules/views/tests/src/Kernel/Plugin/CacheTest.php |
Tests the cache context integration for views result cache. |
cache_context.config_override_integration_test |
service |
core/modules/config/tests/config_override_integration_test/config_override_integration_test.services.yml |
Drupal\config_override_integration_test\Cache\ConfigOverrideIntegrationTestCacheContext |
cache_context.cookies |
service |
core/core.services.yml |
Drupal\Core\Cache\Context\CookiesCacheContext |
cache_context.entity_test_view_grants |
service |
core/modules/system/tests/modules/entity_test/entity_test.services.yml |
Drupal\entity_test\Cache\EntityTestViewGrantsCacheContext |
cache_context.headers |
service |
core/core.services.yml |
Drupal\Core\Cache\Context\HeadersCacheContext |
cache_context.ip |
service |
core/core.services.yml |
Drupal\Core\Cache\Context\IpCacheContext |
cache_context.languages |
service |
core/core.services.yml |
Drupal\Core\Cache\Context\LanguagesCacheContext |
cache_context.layout_builder_is_active |
service |
core/modules/layout_builder/layout_builder.services.yml |
Drupal\layout_builder\Cache\LayoutBuilderIsActiveCacheContext |
cache_context.pirate_day |
service |
core/modules/config/tests/config_override_test/config_override_test.services.yml |
Drupal\config_override_test\Cache\PirateDayCacheContext |
cache_context.protocol_version |
service |
core/core.services.yml |
Drupal\Core\Cache\Context\ProtocolVersionCacheContext |
cache_context.request_format |
service |
core/core.services.yml |
Drupal\Core\Cache\Context\RequestFormatCacheContext |
cache_context.route |
service |
core/core.services.yml |
Drupal\Core\Cache\Context\RouteCacheContext |
cache_context.route.book_navigation |
service |
core/modules/book/book.services.yml |
Drupal\book\Cache\BookNavigationCacheContext |
cache_context.route.menu_active_trails |
service |
core/core.services.yml |
Drupal\Core\Cache\Context\MenuActiveTrailsCacheContext |
cache_context.route.name |
service |
core/core.services.yml |
Drupal\Core\Cache\Context\RouteNameCacheContext |
cache_context.route.name.is_layout_builder_ui |
service |
core/modules/layout_builder/layout_builder.services.yml |
Drupal\layout_builder\Cache\LayoutBuilderUiCacheContext |
cache_context.session |
service |
core/core.services.yml |
Drupal\Core\Cache\Context\SessionCacheContext |
cache_context.session.exists |
service |
core/core.services.yml |
Drupal\Core\Cache\Context\SessionExistsCacheContext |
cache_context.test_discovery |
service |
core/modules/simpletest/simpletest.services.yml |
Drupal\simpletest\Cache\Context\TestDiscoveryCacheContext |
cache_context.theme |
service |
core/core.services.yml |
Drupal\Core\Cache\Context\ThemeCacheContext |
cache_context.timezone |
service |
core/core.services.yml |
Drupal\Core\Cache\Context\TimeZoneCacheContext |
cache_context.url |
service |
core/core.services.yml |
Drupal\Core\Cache\Context\UrlCacheContext |
cache_context.url.path |
service |
core/core.services.yml |
Drupal\Core\Cache\Context\PathCacheContext |
cache_context.url.path.is_front |
service |
core/core.services.yml |
Drupal\Core\Cache\Context\IsFrontPathCacheContext |
cache_context.url.path.parent |
service |
core/core.services.yml |
Drupal\Core\Cache\Context\PathParentCacheContext |
cache_context.url.query_args |
service |
core/core.services.yml |
Drupal\Core\Cache\Context\QueryArgsCacheContext |
cache_context.url.query_args.pagers |
service |
core/core.services.yml |
Drupal\Core\Cache\Context\PagersCacheContext |
cache_context.url.site |
service |
core/core.services.yml |
Drupal\Core\Cache\Context\SiteCacheContext |
cache_context.user |
service |
core/core.services.yml |
Drupal\Core\Cache\Context\UserCacheContext |
cache_context.user.is_super_user |
service |
core/core.services.yml |
Drupal\Core\Cache\Context\IsSuperUserCacheContext |
cache_context.user.node_grants |
service |
core/modules/node/node.services.yml |
Drupal\node\Cache\NodeAccessGrantsCacheContext |
cache_context.user.permissions |
service |
core/core.services.yml |
Drupal\Core\Cache\Context\AccountPermissionsCacheContext |
cache_context.user.roles |
service |
core/core.services.yml |
Drupal\Core\Cache\Context\UserRolesCacheContext |
cache_context.views_test_cache_context |
service |
core/modules/views/tests/modules/views_test_data/views_test_data.services.yml |
Drupal\views_test_data\Cache\ViewsTestCacheContext |
cache_context.workspace |
service |
core/modules/workspaces/workspaces.services.yml |
Drupal\workspaces\WorkspaceCacheContext |
cache_contexts_manager |
service |
core/core.services.yml |
Drupal\Core\Cache\Context\CacheContextsManager |
CalculatedCacheContextInterface |
interface |
core/lib/Drupal/Core/Cache/Context/CalculatedCacheContextInterface.php |
Provides an interface for defining a calculated cache context service. |
CalculatedCacheContextInterface.php |
file |
core/lib/Drupal/Core/Cache/Context/CalculatedCacheContextInterface.php |
|
CalculatedCacheContextInterface::getCacheableMetadata |
function |
core/lib/Drupal/Core/Cache/Context/CalculatedCacheContextInterface.php |
Gets the cacheability metadata for the context based on the parameter value. |
CalculatedCacheContextInterface::getContext |
function |
core/lib/Drupal/Core/Cache/Context/CalculatedCacheContextInterface.php |
Returns the string representation of the cache context. |
CalculatedCacheContextInterface::getLabel |
function |
core/lib/Drupal/Core/Cache/Context/CalculatedCacheContextInterface.php |
Returns the label of the cache context. |
CKEditorIntegrationTest::assertContextMenuItemExists |
function |
core/modules/media/tests/src/FunctionalJavascript/CKEditorIntegrationTest.php |
Asserts that a context menu item exists by aria-label attribute. |
CKEditorIntegrationTest::assertContextMenuItemNotExists |
function |
core/modules/media/tests/src/FunctionalJavascript/CKEditorIntegrationTest.php |
Asserts that a context menu item does not exist by aria-label attribute. |
CKEditorIntegrationTest::closeContextMenu |
function |
core/modules/media/tests/src/FunctionalJavascript/CKEditorIntegrationTest.php |
Closes the open context menu. |
CKEditorIntegrationTest::openContextMenu |
function |
core/modules/media/tests/src/FunctionalJavascript/CKEditorIntegrationTest.php |
Opens the context menu for the currently selected widget. |