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
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 |
|---|---|---|---|
| EntityContextDefinitionIsSatisfiedTest::assertRequirementIsSatisfied | function | core/ |
Asserts that the requirement is satisfied as expected. |
| EntityContextDefinitionIsSatisfiedTest::providerTestIsSatisfiedBy | function | core/ |
Provides test data for ::testIsSatisfiedBy(). |
| EntityContextDefinitionIsSatisfiedTest::providerTestIsSatisfiedByGenerateBundledEntity | function | core/ |
Provides test data for ::testIsSatisfiedByGenerateBundledEntity(). |
| EntityContextDefinitionIsSatisfiedTest::providerTestIsSatisfiedByPassBundledEntity | function | core/ |
Provides test data for ::testIsSatisfiedByPassBundledEntity(). |
| EntityContextDefinitionIsSatisfiedTest::setUp | function | core/ |
|
| EntityContextDefinitionIsSatisfiedTest::testIsSatisfiedBy | function | core/ |
@covers ::isSatisfiedBy[[api-linebreak]] @covers ::dataTypeMatches[[api-linebreak]] @covers ::getSampleValues[[api-linebreak]] @covers ::getConstraintObjects[[api-linebreak]] |
| EntityContextDefinitionIsSatisfiedTest::testIsSatisfiedByGenerateBundledEntity | function | core/ |
@covers ::isSatisfiedBy[[api-linebreak]] @covers ::dataTypeMatches[[api-linebreak]] @covers ::getSampleValues[[api-linebreak]] @covers ::getConstraintObjects[[api-linebreak]] |
| EntityContextDefinitionIsSatisfiedTest::testIsSatisfiedByPassBundledEntity | function | core/ |
@covers ::isSatisfiedBy[[api-linebreak]] @covers ::dataTypeMatches[[api-linebreak]] @covers ::getSampleValues[[api-linebreak]] @covers ::getConstraintObjects[[api-linebreak]] |
| EntityContextTypedDataTest | class | core/ |
Tests the interaction between entity context and typed data. |
| EntityContextTypedDataTest.php | file | core/ |
|
| EntityContextTypedDataTest::$modules | property | core/ |
Modules to enable. |
| 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'. |
| 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. |
| EntityManager::getTranslationFromContext | function | core/ |
|
| EntityManagerTest::testGetTranslationFromContext | function | core/ |
Tests the getTranslationFromContext() method. |
| 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/ |
Gets the entity translation to be used in the given context. |
| 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. |
| EntityTestCompositeConstraintValidator::$context | property | core/ |
Validator 2.5 and upwards compatible execution context. |
| EntityTestEntityLevelValidator::$context | property | core/ |
Validator 2.5 and upwards compatible execution context. |
| EntityTestHalJsonInternalPropertyNormalizerTest::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. |
| EntityTestLabelHalJsonAnonTest::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. |
| EntityTestMapFieldHalJsonAnonTest::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/ |
The list cache contexts for this entity type. |
| 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[[api-linebreak]] @covers ::addCacheContexts[[api-linebreak]] |
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.