Search for context
- Search 7.x for context
- Search 9.5.x for context
- Search 8.9.x for context
- Search 10.3.x for context
- Search 11.x for context
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| Access::getCacheContexts | function | core/ |
|
| ActionResourceTestBase::getExpectedCacheContexts | function | core/ |
|
| AdminNegotiator::$adminContext | property | core/ |
The route admin context to determine whether a route is an admin one. |
| ArgumentPluginBase::getCacheContexts | function | core/ |
|
| ArgumentPluginBase::getContextDefinition | function | core/ |
Returns a context definition for this argument. |
| ArgumentValidatorPluginBase::getContextDefinition | function | core/ |
Returns a context definition for this argument. |
| AssertPageCacheContextsAndTagsTrait | trait | core/ |
Provides test assertions for testing page-level cache contexts & tags. |
| AssertPageCacheContextsAndTagsTrait.php | file | core/ |
|
| AssertPageCacheContextsAndTagsTrait::assertCacheContext | function | core/ |
Asserts whether an expected cache context was present in the last response. |
| AssertPageCacheContextsAndTagsTrait::assertCacheContexts | function | core/ |
Ensures that some cache contexts are present in the current response. |
| AssertPageCacheContextsAndTagsTrait::assertCacheMaxAge | function | core/ |
Asserts the max age header. |
| AssertPageCacheContextsAndTagsTrait::assertCacheTags | function | core/ |
Ensures that some cache tags are present in the current response. |
| AssertPageCacheContextsAndTagsTrait::assertNoCacheContext | function | core/ |
Asserts that a cache context was not present in the last response. |
| AssertPageCacheContextsAndTagsTrait::assertPageCacheContextsAndTags | function | core/ |
Asserts page cache miss, then hit for the given URL; checks cache headers. |
| AssertPageCacheContextsAndTagsTrait::enablePageCaching | function | core/ |
Enables page caching. |
| AssertPageCacheContextsAndTagsTrait::getCacheHeaderValues | function | core/ |
Gets a specific header value as array. |
| block.links.contextual.yml | file | core/ |
core/modules/block/block.links.contextual.yml |
| Block::$contexts | property | core/ |
The available contexts for this block and its visibility conditions. |
| BlockAccessControlHandler::$contextHandler | property | core/ |
The plugin context handler. |
| BlockAccessControlHandler::$contextRepository | property | core/ |
The context manager service. |
| BlockContentCacheTagsTest::getAccessCacheContextsForEntity | function | core/ |
|
| BlockContentContextualLinksTest | class | core/ |
Tests views contextual links on block content. |
| BlockContentContextualLinksTest.php | file | core/ |
|
| BlockContentContextualLinksTest::$defaultTheme | property | core/ |
|
| BlockContentContextualLinksTest::$modules | property | core/ |
|
| BlockContentContextualLinksTest::testBlockContentContextualLinks | function | core/ |
Tests contextual links. |
| BlockContentResourceTestBase::getExpectedCacheContexts | function | core/ |
|
| BlockContentTest::getExpectedCacheContexts | function | core/ |
|
| BlockContentTranslationUITest::$defaultCacheContexts | property | core/ |
|
| BlockContextualLinksTest | class | core/ |
Tests the contextual links added while rendering the block. |
| BlockContextualLinksTest.php | file | core/ |
|
| BlockContextualLinksTest::$blockId | property | core/ |
Block id of the block. |
| BlockContextualLinksTest::$defaultTheme | property | core/ |
|
| BlockContextualLinksTest::$modules | property | core/ |
|
| BlockContextualLinksTest::setUp | function | core/ |
|
| BlockContextualLinksTest::testBlockContextualRemoveLinks | function | core/ |
Test that remove/configure contextual links are present in the block. |
| BlockForm::$contextRepository | property | core/ |
The context repository service. |
| BlockFormTest::$contextHandler | property | core/ |
The mocked context handler. |
| BlockFormTest::$contextRepository | property | core/ |
The mocked context repository. |
| BlockLibraryController::$contextRepository | property | core/ |
The context repository. |
| BlockPageVariantTest::$contextHandler | property | core/ |
The plugin context handler. |
| BlockRepository::$contextHandler | property | core/ |
The context handler. |
| BlockRepositoryTest::$contextHandler | property | core/ |
The context handler of a mock. |
| BlockRepositoryTest::testGetVisibleBlocksPerRegionWithContext | function | core/ |
Tests the retrieval of block entities that are context-aware. |
| BlockResourceTestBase::getExpectedCacheContexts | function | core/ |
|
| BlockTest::getExpectedCacheContexts | function | core/ |
|
| BlockUiTest::testContextAwareBlocks | function | core/ |
Tests the behavior of context-aware blocks. |
| BlockUiTest::testContextAwareUnsatisfiedBlocks | function | core/ |
Tests the behavior of unsatisfied context-aware blocks. |
| block_content.links.contextual.yml | file | core/ |
core/modules/block_content/block_content.links.contextual.yml |
| block_test.multiple_static_context | service | core/ |
Drupal\block_test\ContextProvider\MultipleStaticContext |
Pagination
- Page 1
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.