| LOCALE_JS_OBJECT_CONTEXT |
constant |
core/modules/locale/locale.module |
Regular expression to match an object containing a key 'context'. |
| LocalStream::$context |
property |
core/lib/Drupal/Core/StreamWrapper/LocalStream.php |
Stream context resource. |
| LocalTaskDefault::getCacheContexts |
function |
core/lib/Drupal/Core/Menu/LocalTaskDefault.php |
The cache contexts associated with this object. |
| LocalTaskDefaultTest::testGetTitleWithContext |
function |
core/tests/Drupal/Tests/Core/Menu/LocalTaskDefaultTest.php |
@covers ::getTitle[[api-linebreak]] |
| LoginLogoutMenuLink::getCacheContexts |
function |
core/modules/user/src/Plugin/Menu/LoginLogoutMenuLink.php |
The cache contexts associated with this object. |
| MailManagerTest::testMailInRenderContext |
function |
core/tests/Drupal/Tests/Core/Mail/MailManagerTest.php |
Tests that mails are sent in a separate render context. |
| media.links.contextual.yml |
file |
core/modules/media/media.links.contextual.yml |
core/modules/media/media.links.contextual.yml |
| MediaCacheTagsTest::getAdditionalCacheContextsForEntity |
function |
core/modules/media/tests/src/Functional/MediaCacheTagsTest.php |
Returns the additional (non-standard) cache contexts for the tested entity. |
| MediaContextualLinksTest |
class |
core/modules/media/tests/src/Functional/MediaContextualLinksTest.php |
Tests views contextual links on media items. |
| MediaContextualLinksTest.php |
file |
core/modules/media/tests/src/Functional/MediaContextualLinksTest.php |
|
| MediaContextualLinksTest::$defaultTheme |
property |
core/modules/media/tests/src/Functional/MediaContextualLinksTest.php |
The theme to install as the default for testing. |
| MediaContextualLinksTest::$modules |
property |
core/modules/media/tests/src/Functional/MediaContextualLinksTest.php |
Modules to enable. |
| MediaContextualLinksTest::testMediaContextualLinks |
function |
core/modules/media/tests/src/Functional/MediaContextualLinksTest.php |
Tests contextual links. |
| MediaEmbed::disableContextualLinks |
function |
core/modules/media/src/Plugin/Filter/MediaEmbed.php |
Disables Contextual Links for the embedded media by removing its property. |
| MediaTranslationUITest::$defaultCacheContexts |
property |
core/modules/media/tests/src/Functional/MediaTranslationUITest.php |
{inheritdoc} |
| MenuActiveTrailsCacheContext |
class |
core/lib/Drupal/Core/Cache/Context/MenuActiveTrailsCacheContext.php |
Defines the MenuActiveTrailsCacheContext service. |
| MenuActiveTrailsCacheContext.php |
file |
core/lib/Drupal/Core/Cache/Context/MenuActiveTrailsCacheContext.php |
|
| MenuActiveTrailsCacheContext::getCacheableMetadata |
function |
core/lib/Drupal/Core/Cache/Context/MenuActiveTrailsCacheContext.php |
Gets the cacheability metadata for the context based on the parameter value. |
| MenuActiveTrailsCacheContext::getContext |
function |
core/lib/Drupal/Core/Cache/Context/MenuActiveTrailsCacheContext.php |
Returns the string representation of the cache context. |
| MenuActiveTrailsCacheContext::getLabel |
function |
core/lib/Drupal/Core/Cache/Context/MenuActiveTrailsCacheContext.php |
Returns the label of the cache context. |
| MenuLinkBase::getCacheContexts |
function |
core/lib/Drupal/Core/Menu/MenuLinkBase.php |
The cache contexts associated with this object. |
| MenuLinkContentHalJsonAnonTest::getExpectedCacheContexts |
function |
core/modules/menu_link_content/tests/src/Functional/Hal/MenuLinkContentHalJsonAnonTest.php |
The expected cache contexts for the GET/HEAD response of the test entity. |
| MenuLinkContentTranslationUITest::$defaultCacheContexts |
property |
core/modules/menu_link_content/tests/src/Functional/MenuLinkContentTranslationUITest.php |
{inheritdoc} |
| MenuLinkMock::getCacheContexts |
function |
core/tests/Drupal/Tests/Core/Menu/MenuLinkMock.php |
The cache contexts associated with this object. |
| MenuResourceTestBase::getExpectedCacheContexts |
function |
core/modules/system/tests/src/Functional/Rest/MenuResourceTestBase.php |
The expected cache contexts for the GET/HEAD response of the test entity. |
| MenuUiJavascriptTest::testBlockContextualLinks |
function |
core/modules/menu_ui/tests/src/FunctionalJavascript/MenuUiJavascriptTest.php |
Tests the contextual links on a menu block. |
| menu_test.links.contextual.yml |
file |
core/modules/system/tests/modules/menu_test/menu_test.links.contextual.yml |
core/modules/system/tests/modules/menu_test/menu_test.links.contextual.yml |
| menu_ui.links.contextual.yml |
file |
core/modules/menu_ui/menu_ui.links.contextual.yml |
core/modules/menu_ui/menu_ui.links.contextual.yml |
| MetadataBubblingUrlGenerator::getContext |
function |
core/lib/Drupal/Core/Render/MetadataBubblingUrlGenerator.php |
|
| MetadataBubblingUrlGenerator::setContext |
function |
core/lib/Drupal/Core/Render/MetadataBubblingUrlGenerator.php |
|
| MissingValueContextException |
class |
core/lib/Drupal/Component/Plugin/Exception/MissingValueContextException.php |
An exception class thrown when contexts exist but are missing a value. |
| MissingValueContextException.php |
file |
core/lib/Drupal/Component/Plugin/Exception/MissingValueContextException.php |
|
| MissingValueContextException::__construct |
function |
core/lib/Drupal/Component/Plugin/Exception/MissingValueContextException.php |
MissingValueContextException constructor. |
| MockBlockManager::createContextDefinition |
function |
core/modules/system/tests/modules/plugin_test/src/Plugin/MockBlockManager.php |
Creates a new context definition with a label that is cast to string. |
| MockComplexContextBlock |
class |
core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockComplexContextBlock.php |
Implementation of a complex context plugin used by Plugin API context tests. |
| MockComplexContextBlock.php |
file |
core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockComplexContextBlock.php |
|
| MockComplexContextBlock::getTitle |
function |
core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockComplexContextBlock.php |
|
| ModerationStateFilter::getCacheContexts |
function |
core/modules/content_moderation/src/Plugin/views/filter/ModerationStateFilter.php |
The cache contexts associated with this object. |
| MultipleStaticContext |
class |
core/modules/block/tests/modules/block_test/src/ContextProvider/MultipleStaticContext.php |
Sets multiple contexts for a static value. |
| MultipleStaticContext.php |
file |
core/modules/block/tests/modules/block_test/src/ContextProvider/MultipleStaticContext.php |
|
| MultipleStaticContext::$account |
property |
core/modules/block/tests/modules/block_test/src/ContextProvider/MultipleStaticContext.php |
The current user. |
| MultipleStaticContext::$userStorage |
property |
core/modules/block/tests/modules/block_test/src/ContextProvider/MultipleStaticContext.php |
The user storage. |
| MultipleStaticContext::getAvailableContexts |
function |
core/modules/block/tests/modules/block_test/src/ContextProvider/MultipleStaticContext.php |
Gets all available contexts for the purposes of configuration. |
| MultipleStaticContext::getRuntimeContexts |
function |
core/modules/block/tests/modules/block_test/src/ContextProvider/MultipleStaticContext.php |
Gets runtime context values for the given context IDs. |
| MultipleStaticContext::__construct |
function |
core/modules/block/tests/modules/block_test/src/ContextProvider/MultipleStaticContext.php |
Constructs a new MultipleStaticContext. |
| node.links.contextual.yml |
file |
core/modules/node/node.links.contextual.yml |
core/modules/node/node.links.contextual.yml |
| node.node_route_context |
service |
core/modules/node/node.services.yml |
Drupal\node\ContextProvider\NodeRouteContext |
| Node::getCacheContexts |
function |
core/modules/node/src/Plugin/views/argument_default/Node.php |
The cache contexts associated with this object. |
| NodeAccessCacheabilityTest::testNodeAccessCacheContext |
function |
core/modules/node/tests/src/Functional/NodeAccessCacheabilityTest.php |
Tests that the user cache contexts are correctly set. |
| NodeAccessGrantsCacheContext |
class |
core/modules/node/src/Cache/NodeAccessGrantsCacheContext.php |
Defines the node access view cache context service. |