BazCacheContext::getContext |
function |
core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php |
Returns the string representation of the cache context. |
BazCacheContext::getLabel |
function |
core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php |
Returns the label of the cache context. |
block.links.contextual.yml |
file |
core/modules/block/block.links.contextual.yml |
core/modules/block/block.links.contextual.yml |
Block::$context |
property |
core/lib/Drupal/Core/Block/Annotation/Block.php |
An array of context definitions describing the context used by the plugin. |
Block::$contexts |
property |
core/modules/block/src/Entity/Block.php |
The available contexts for this block and its visibility conditions. |
Block::$context_definitions |
property |
core/lib/Drupal/Core/Block/Annotation/Block.php |
An array of context definitions describing the context used by the plugin. |
BlockAccessControlHandler::$contextHandler |
property |
core/modules/block/src/BlockAccessControlHandler.php |
The plugin context handler. |
BlockAccessControlHandler::$contextRepository |
property |
core/modules/block/src/BlockAccessControlHandler.php |
The context manager service. |
BlockContentCacheTagsTest::getAccessCacheContextsForEntity |
function |
core/modules/block_content/tests/src/Functional/BlockContentCacheTagsTest.php |
|
BlockContentContextualLinksTest |
class |
core/modules/block_content/tests/src/Functional/BlockContentContextualLinksTest.php |
Tests views contextual links on block content. |
BlockContentContextualLinksTest.php |
file |
core/modules/block_content/tests/src/Functional/BlockContentContextualLinksTest.php |
|
BlockContentContextualLinksTest::$defaultTheme |
property |
core/modules/block_content/tests/src/Functional/BlockContentContextualLinksTest.php |
The theme to install as the default for testing. |
BlockContentContextualLinksTest::$modules |
property |
core/modules/block_content/tests/src/Functional/BlockContentContextualLinksTest.php |
Modules to enable. |
BlockContentContextualLinksTest::testBlockContentContextualLinks |
function |
core/modules/block_content/tests/src/Functional/BlockContentContextualLinksTest.php |
Tests contextual links. |
BlockContentHalJsonAnonTest::getExpectedCacheContexts |
function |
core/modules/block_content/tests/src/Functional/Hal/BlockContentHalJsonAnonTest.php |
The expected cache contexts for the GET/HEAD response of the test entity. |
BlockContentResourceTestBase::getExpectedCacheContexts |
function |
core/modules/block_content/tests/src/Functional/Rest/BlockContentResourceTestBase.php |
The expected cache contexts for the GET/HEAD response of the test entity. |
BlockContentTest::getExpectedCacheContexts |
function |
core/modules/jsonapi/tests/src/Functional/BlockContentTest.php |
The expected cache contexts for the GET/HEAD response of the test entity. |
BlockContentTranslationUITest::$defaultCacheContexts |
property |
core/modules/block_content/tests/src/Functional/BlockContentTranslationUITest.php |
Default cache contexts expected on a non-translated entity. |
BlockContextMappingUpdateFilledTest |
class |
core/modules/block/tests/src/Functional/Update/BlockContextMappingUpdateFilledTest.php |
Runs BlockContextMappingUpdateTest with a dump filled with content. |
BlockContextMappingUpdateFilledTest.php |
file |
core/modules/block/tests/src/Functional/Update/BlockContextMappingUpdateFilledTest.php |
|
BlockContextMappingUpdateFilledTest::setDatabaseDumpFiles |
function |
core/modules/block/tests/src/Functional/Update/BlockContextMappingUpdateFilledTest.php |
Set database dump files to be used. |
BlockContextMappingUpdateTest |
class |
core/modules/block/tests/src/Functional/Update/BlockContextMappingUpdateTest.php |
Tests the upgrade path for block context mapping renames. |
BlockContextMappingUpdateTest.php |
file |
core/modules/block/tests/src/Functional/Update/BlockContextMappingUpdateTest.php |
|
BlockContextMappingUpdateTest::$modules |
property |
core/modules/block/tests/src/Functional/Update/BlockContextMappingUpdateTest.php |
Modules to enable after the database is loaded. |
BlockContextMappingUpdateTest::setDatabaseDumpFiles |
function |
core/modules/block/tests/src/Functional/Update/BlockContextMappingUpdateTest.php |
Set database dump files to be used. |
BlockContextMappingUpdateTest::testUpdateHookN |
function |
core/modules/block/tests/src/Functional/Update/BlockContextMappingUpdateTest.php |
Tests that block context mapping is updated properly. |
BlockForm::$contextRepository |
property |
core/modules/block/src/BlockForm.php |
The context repository service. |
BlockFormTest::$contextRepository |
property |
core/modules/block/tests/src/Unit/BlockFormTest.php |
The mocked context repository. |
BlockLibraryController::$contextRepository |
property |
core/modules/block/src/Controller/BlockLibraryController.php |
The context repository. |
BlockPageVariantTest::$contextHandler |
property |
core/modules/block/tests/src/Unit/Plugin/DisplayVariant/BlockPageVariantTest.php |
The plugin context handler. |
BlockRepositoryTest::$contextHandler |
property |
core/modules/block/tests/src/Unit/BlockRepositoryTest.php |
|
BlockRepositoryTest::testGetVisibleBlocksPerRegionWithContext |
function |
core/modules/block/tests/src/Unit/BlockRepositoryTest.php |
Tests the retrieval of block entities that are context-aware. |
BlockResourceTestBase::getExpectedCacheContexts |
function |
core/modules/block/tests/src/Functional/Rest/BlockResourceTestBase.php |
The expected cache contexts for the GET/HEAD response of the test entity. |
BlockTest::getExpectedCacheContexts |
function |
core/modules/jsonapi/tests/src/Functional/BlockTest.php |
The expected cache contexts for the GET/HEAD response of the test entity. |
BlockUiTest::testContextAwareBlocks |
function |
core/modules/block/tests/src/Functional/BlockUiTest.php |
Tests the behavior of context-aware blocks. |
BlockUiTest::testContextAwareUnsatisfiedBlocks |
function |
core/modules/block/tests/src/Functional/BlockUiTest.php |
Tests the behavior of unsatisfied context-aware blocks. |
block_content.links.contextual.yml |
file |
core/modules/block_content/block_content.links.contextual.yml |
core/modules/block_content/block_content.links.contextual.yml |
block_post_update_disable_blocks_with_missing_contexts |
function |
core/modules/block/block.post_update.php |
Disable all blocks with missing context IDs in block_update_8001(). |
block_test.multiple_static_context |
service |
core/modules/block/tests/modules/block_test/block_test.services.yml |
Drupal\block_test\ContextProvider\MultipleStaticContext |
BookNavigationBlock::getCacheContexts |
function |
core/modules/book/src/Plugin/Block/BookNavigationBlock.php |
|
BookNavigationCacheContext |
class |
core/modules/book/src/Cache/BookNavigationCacheContext.php |
Defines the book navigation cache context service. |
BookNavigationCacheContext.php |
file |
core/modules/book/src/Cache/BookNavigationCacheContext.php |
|
BookNavigationCacheContext::$requestStack |
property |
core/modules/book/src/Cache/BookNavigationCacheContext.php |
The request stack. |
BookNavigationCacheContext::getCacheableMetadata |
function |
core/modules/book/src/Cache/BookNavigationCacheContext.php |
Gets the cacheability metadata for the context. |
BookNavigationCacheContext::getContext |
function |
core/modules/book/src/Cache/BookNavigationCacheContext.php |
Returns the string representation of the cache context. |
BookNavigationCacheContext::getLabel |
function |
core/modules/book/src/Cache/BookNavigationCacheContext.php |
Returns the label of the cache context. |
BookNavigationCacheContext::__construct |
function |
core/modules/book/src/Cache/BookNavigationCacheContext.php |
Constructs a new BookNavigationCacheContext service. |
BookTest::testBookNavigationCacheContext |
function |
core/modules/book/tests/src/Functional/BookTest.php |
Tests the book navigation cache context. |
BreadcrumbFrontCacheContextsTest |
class |
core/modules/system/tests/src/Functional/Menu/BreadcrumbFrontCacheContextsTest.php |
Tests breadcrumbs functionality. |
BreadcrumbFrontCacheContextsTest.php |
file |
core/modules/system/tests/src/Functional/Menu/BreadcrumbFrontCacheContextsTest.php |
|