| BlockContentContextualLinksTest::testBlockContentContextualLinks |
function |
core/modules/block_content/tests/src/Functional/BlockContentContextualLinksTest.php |
Tests contextual links. |
| BlockContentHalJsonAnonTest::getExpectedCacheContexts |
function |
core/modules/hal/tests/src/Functional/block_content/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. |
| BlockContextualLinksTest |
class |
core/modules/block/tests/src/FunctionalJavascript/BlockContextualLinksTest.php |
Tests the contextual links added while rendering the block. |
| BlockContextualLinksTest.php |
file |
core/modules/block/tests/src/FunctionalJavascript/BlockContextualLinksTest.php |
|
| BlockContextualLinksTest::$blockId |
property |
core/modules/block/tests/src/FunctionalJavascript/BlockContextualLinksTest.php |
Block id of the block. |
| BlockContextualLinksTest::$defaultTheme |
property |
core/modules/block/tests/src/FunctionalJavascript/BlockContextualLinksTest.php |
The theme to install as the default for testing. |
| BlockContextualLinksTest::$modules |
property |
core/modules/block/tests/src/FunctionalJavascript/BlockContextualLinksTest.php |
Modules to enable. |
| BlockContextualLinksTest::setUp |
function |
core/modules/block/tests/src/FunctionalJavascript/BlockContextualLinksTest.php |
|
| BlockContextualLinksTest::testBlockContextualRemoveLinks |
function |
core/modules/block/tests/src/FunctionalJavascript/BlockContextualLinksTest.php |
Test to ensure that remove contextual link is present in the block. |
| 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. |
| BlockRepository::$contextHandler |
property |
core/modules/block/src/BlockRepository.php |
The 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_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::$deprecatedProperties |
property |
core/modules/book/src/Cache/BookNavigationCacheContext.php |
|
| BookNavigationCacheContext::$routeMatch |
property |
core/modules/book/src/Cache/BookNavigationCacheContext.php |
The current route match. |
| 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. |
| BookTest::testBookNavigationCacheContextDeprecatedParameter |
function |
core/modules/book/tests/src/Functional/BookTest.php |
Test the book navigation cache context argument deprecation. |
| 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 |
|
| BreadcrumbFrontCacheContextsTest::$defaultTheme |
property |
core/modules/system/tests/src/Functional/Menu/BreadcrumbFrontCacheContextsTest.php |
The theme to install as the default for testing. |
| BreadcrumbFrontCacheContextsTest::$modules |
property |
core/modules/system/tests/src/Functional/Menu/BreadcrumbFrontCacheContextsTest.php |
Modules to enable. |
| BreadcrumbFrontCacheContextsTest::$nodeWithAlias |
property |
core/modules/system/tests/src/Functional/Menu/BreadcrumbFrontCacheContextsTest.php |
A test node with path alias. |
| BreadcrumbFrontCacheContextsTest::setUp |
function |
core/modules/system/tests/src/Functional/Menu/BreadcrumbFrontCacheContextsTest.php |
|
| BreadcrumbFrontCacheContextsTest::testBreadcrumbsFrontPageCache |
function |
core/modules/system/tests/src/Functional/Menu/BreadcrumbFrontCacheContextsTest.php |
Validate that breadcrumb markup get the right cache contexts. |
| BulkForm::getCacheContexts |
function |
core/modules/views/src/Plugin/views/field/BulkForm.php |
The cache contexts associated with this object. |
| Cache::mergeContexts |
function |
core/lib/Drupal/Core/Cache/Cache.php |
Merges arrays of cache contexts and removes duplicates. |
| CacheableDependencyInterface::getCacheContexts |
function |
core/lib/Drupal/Core/Cache/CacheableDependencyInterface.php |
The cache contexts associated with this object. |
| CacheableDependencyTrait::$cacheContexts |
property |
core/lib/Drupal/Core/Cache/CacheableDependencyTrait.php |
Cache contexts. |
| CacheableDependencyTrait::getCacheContexts |
function |
core/lib/Drupal/Core/Cache/CacheableDependencyTrait.php |
|
| CacheableMetadata::getCacheContexts |
function |
core/lib/Drupal/Core/Cache/CacheableMetadata.php |
The cache contexts associated with this object. |
| CacheableMetadata::setCacheContexts |
function |
core/lib/Drupal/Core/Cache/CacheableMetadata.php |
Sets cache contexts. |