Search for context
- Search 7.x for context
- Search 9.5.x for context
- Search 8.9.x for context
- Search 11.x for context
- Other projects
Exact matches
Title | Object type | File name | Summary |
---|---|---|---|
Context | class | core/ |
A Drupal specific context wrapper class. |
Context | class | core/ |
A generic context class for wrapping data a plugin needs to operate. |
All search results
Title | Object type | File name | Summary |
---|---|---|---|
EntityContextTypedDataTest | class | core/ |
Tests the interaction between entity context and typed data. |
EntityContextTypedDataTest.php | file | core/ |
|
EntityContextTypedDataTest::$modules | property | core/ |
Modules to install. |
EntityContextTypedDataTest::testValidateConfigEntityContext | function | core/ |
Tests that entity contexts wrapping a config entity can be validated. |
EntityDisplayBase::$displayContext | property | core/ |
Context in which this entity will be used (e.g. 'view', 'form'). |
EntityDisplayFormBase::$displayContext | property | core/ |
The display context. Either 'view' or 'form'. |
EntityDisplayModeFormBase::$displayContext | property | core/ |
The display context. Either 'view' or 'form'. |
EntityDisplayModeFormBase::getDisplayByContext | function | core/ |
Returns View or Form display based on display context. |
EntityField::getCacheContexts | function | core/ |
The cache contexts associated with this object. |
EntityFieldRenderer::getCacheContexts | function | core/ |
The cache contexts associated with this object. |
EntityFormDisplay::$displayContext | property | core/ |
Context in which this entity will be used (e.g. 'view', 'form'). |
EntityFormDisplayEditForm::$displayContext | property | core/ |
The display context. Either 'view' or 'form'. |
EntityFormDisplayResourceTestBase::getExpectedCacheContexts | function | core/ |
The expected cache contexts for the GET/HEAD response of the test entity. |
EntityListBuilderTest::testCacheContexts | function | core/ |
Tests that the correct cache contexts are set. |
EntityRepository::$contextRepository | property | core/ |
The context repository service. |
EntityRepository::getContentLanguageFromContexts | function | core/ |
Retrieves the current content language from the specified contexts. |
EntityRepository::getTranslationFromContext | function | core/ |
|
EntityRepositoryInterface::CONTEXT_ID_LEGACY_CONTEXT_OPERATION | constant | core/ |
|
EntityRepositoryInterface::getTranslationFromContext | function | core/ |
Gets the entity translation to be used in the given context. |
EntityRepositoryTest::$contextRepository | property | core/ |
The context repository. |
EntityRepositoryTest::getLanguageContexts | function | core/ |
Returns a set of language contexts matching the specified language. |
EntityRepositoryTest::testGetTranslationFromContext | function | core/ |
Tests the getTranslationFromContext() method. |
EntityResource::executeQueryInRenderContext | function | core/ |
Executes the query in a render context, to catch bubbled cacheability. |
EntityResourceTestBase::getExpectedCacheContexts | function | core/ |
The expected cache contexts for the GET/HEAD response of the test entity. |
EntityTestComputedFieldNormalizerTest::getExpectedCacheContexts | function | core/ |
The expected cache contexts for the GET/HEAD response of the test entity. |
EntityTestComputedFieldTest::getExpectedCacheContexts | function | core/ |
The expected cache contexts for the GET/HEAD response of the test entity. |
EntityTestJsonInternalPropertyNormalizerTest::getExpectedCacheContexts | function | core/ |
The expected cache contexts for the GET/HEAD response of the test entity. |
EntityTestLabelResourceTestBase::getExpectedCacheContexts | function | core/ |
The expected cache contexts for the GET/HEAD response of the test entity. |
EntityTestMapFieldResourceTestBase::getExpectedCacheContexts | function | core/ |
The expected cache contexts for the GET/HEAD response of the test entity. |
EntityTestTextItemNormalizerTest::getExpectedCacheContexts | function | core/ |
The expected cache contexts for the GET/HEAD response of the test entity. |
EntityTestViewGrantsCacheContext | class | core/ |
Defines the entity_test view grants cache context service. |
EntityTestViewGrantsCacheContext.php | file | core/ |
|
EntityTestViewGrantsCacheContext::getCacheableMetadata | function | core/ |
Gets the cacheability metadata for the context. |
EntityTestViewGrantsCacheContext::getContext | function | core/ |
Returns the string representation of the cache context. |
EntityTestViewGrantsCacheContext::getLabel | function | core/ |
Returns the label of the cache context. |
EntityType::$list_cache_contexts | property | core/ |
|
EntityType::getListCacheContexts | function | core/ |
The list cache contexts associated with this entity type. |
EntityTypeInterface::getListCacheContexts | function | core/ |
The list cache contexts associated with this entity type. |
EntityUnitTest::testCacheContexts | function | core/ |
@covers ::getCacheContexts @covers ::addCacheContexts |
EntityViewAlterTest::testContextualLinksRemoved | function | core/ |
Tests that contextual links are removed when rendering Layout Builder. |
EntityViewBuilder::addContextualLinks | function | core/ |
Add contextual links. |
EntityViewDisplay::$displayContext | property | core/ |
Context in which this entity will be used (e.g. 'view', 'form'). |
EntityViewDisplayEditForm::$displayContext | property | core/ |
The display context. Either 'view' or 'form'. |
EntityViewDisplayResourceTestBase::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. |
ExecutionContext | class | core/ |
Defines an execution context class. |
ExecutionContext | class | core/ |
Defines an execution context class. |
ExecutionContext.php | file | core/ |
|
ExecutionContext.php | file | core/ |
|
ExecutionContext::$constraint | property | core/ |
The currently validated constraint. |
Pagination
- Previous page
- Page 18
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.