Search for context
- Search 7.x for context
- Search 9.5.x for context
- Search 10.3.x for context
- Search 11.x for context
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
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::debugCacheTags | function | core/ |
Provides debug information for cache tags. |
AssertPageCacheContextsAndTagsTrait::enablePageCaching | function | core/ |
Enables page caching. |
AssertPageCacheContextsAndTagsTrait::getCacheHeaderValues | function | core/ |
Gets a specific header value as array. |
BlockContentHalJsonAnonTest::getExpectedCacheContexts | function | core/ |
The expected cache contexts for the GET/HEAD response of the test entity. |
BlockContextMappingUpdateFilledTest | class | core/ |
Runs BlockContextMappingUpdateTest with a dump filled with content. |
BlockContextMappingUpdateFilledTest.php | file | core/ |
|
BlockContextMappingUpdateFilledTest::setDatabaseDumpFiles | function | core/ |
Set database dump files to be used. |
BlockContextMappingUpdateTest | class | core/ |
Tests the upgrade path for block context mapping renames. |
BlockContextMappingUpdateTest.php | file | core/ |
|
BlockContextMappingUpdateTest::$modules | property | core/ |
Modules to enable after the database is loaded. |
BlockContextMappingUpdateTest::setDatabaseDumpFiles | function | core/ |
Set database dump files to be used. |
BlockContextMappingUpdateTest::testUpdateHookN | function | core/ |
Tests that block context mapping is updated properly. |
cache_context.test_discovery | service | core/ |
Drupal\simpletest\Cache\Context\TestDiscoveryCacheContext |
CKEditorIntegrationTest::assertContextMenuItemExists | function | core/ |
Asserts that a context menu item exists by aria-label attribute. |
CKEditorIntegrationTest::assertContextMenuItemNotExists | function | core/ |
Asserts that a context menu item does not exist by aria-label attribute. |
CKEditorIntegrationTest::closeContextMenu | function | core/ |
Closes the open context menu. |
CKEditorIntegrationTest::openContextMenu | function | core/ |
Opens the context menu for the currently selected widget. |
ContentTranslationUITestBase::$defaultCacheContexts | property | core/ |
Default cache contexts expected on a non-translated entity. |
drupal-8.block-context-manager-2354889.php | file | core/ |
Contains database additions to drupal-8.bare.standard.php.gz for testing the upgrade path of https://www.drupal.org/node/2354889. |
EntityCacheTagsTestBase::getAccessCacheContextsForEntity | function | core/ |
Returns the access cache contexts for the tested entity. |
EntityCacheTagsTestBase::getAdditionalCacheContextsForEntity | function | core/ |
Returns the additional (non-standard) cache contexts for the tested entity. |
EntityCacheTagsTestBase::getAdditionalCacheContextsForEntityListing | function | core/ |
Returns the additional cache tags for the tested entity's listing by type. |
EntityContextDefinitionDeprecationTest | class | core/ |
Test deprecated use of ContextDefinition as an EntityContextDefinition. |
EntityContextDefinitionDeprecationTest.php | file | core/ |
|
EntityContextDefinitionDeprecationTest::$compatibilityLayer | property | core/ |
The compatibility layer property on the context definition under test. |
EntityContextDefinitionDeprecationTest::$definition | property | core/ |
The context definition under test. |
EntityContextDefinitionDeprecationTest::setUp | function | core/ |
|
EntityContextDefinitionDeprecationTest::testAddConstraint | function | core/ |
Test that addConstraint() proxies to the compatibility layer. |
EntityContextDefinitionDeprecationTest::testGetConstraint | function | core/ |
Test that getConstraint() proxies to the compatibility layer. |
EntityContextDefinitionDeprecationTest::testGetConstraintObjects | function | core/ |
Test that getConstraintObjects() adds the EntityType constraint. |
EntityContextDefinitionDeprecationTest::testGetConstraints | function | core/ |
Test that getConstraints() proxies to the compatibility layer. |
EntityContextDefinitionDeprecationTest::testIsSatisfiedBy | function | core/ |
Test that isSatisfiedBy() calls the compatibility layer. |
EntityContextDefinitionDeprecationTest::testSerialization | function | core/ |
Test that the BC layer survives serialization and unserialization. |
EntityContextDefinitionDeprecationTest::testSetConstraints | function | core/ |
Test that setConstraints() proxies to the compatibility layer. |
EntityManager::getTranslationFromContext | function | core/ |
|
EntityManagerTest::testGetTranslationFromContext | function | core/ |
Tests the getTranslationFromContext() method. |
EntityTestHalJsonInternalPropertyNormalizerTest::getExpectedCacheContexts | function | core/ |
The expected cache contexts for the GET/HEAD response of the test entity. |
EntityTestLabelHalJsonAnonTest::getExpectedCacheContexts | function | core/ |
The expected cache contexts for the GET/HEAD response of the test entity. |
EntityTestMapFieldHalJsonAnonTest::getExpectedCacheContexts | function | core/ |
The expected cache contexts for the GET/HEAD response of the test entity. |
EntityWithUriCacheTagsTestBase::getDefaultCacheContexts | function | core/ |
Gets the default cache contexts for rendered entities. |
FileHalJsonAnonTest::getExpectedCacheContexts | function | core/ |
The expected cache contexts for the GET/HEAD response of the test entity. |
ItemHalJsonTestBase::getExpectedCacheContexts | function | core/ |
The expected cache contexts for the GET/HEAD response of the test entity. |
Pagination
- Page 1
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.