Search for context
- Search 7.x for context
- Search 8.9.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 |
---|---|---|---|
EntityContextDefinition::__construct | function | core/ |
Constructs a new context definition object. |
EntityContextDefinitionIsSatisfiedTest | class | core/ |
@coversDefaultClass \Drupal\Core\Plugin\Context\EntityContextDefinition @group Plugin |
EntityContextDefinitionIsSatisfiedTest.php | file | core/ |
|
EntityContextDefinitionIsSatisfiedTest::$entityTypeBundleInfo | property | core/ |
The entity type bundle info. |
EntityContextDefinitionIsSatisfiedTest::$entityTypeManager | property | core/ |
The entity type manager. |
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 @covers ::dataTypeMatches @covers ::getSampleValues @covers ::getConstraintObjects |
EntityContextDefinitionIsSatisfiedTest::testIsSatisfiedByGenerateBundledEntity | function | core/ |
@covers ::isSatisfiedBy @covers ::dataTypeMatches @covers ::getSampleValues @covers ::getConstraintObjects |
EntityContextDefinitionIsSatisfiedTest::testIsSatisfiedByPassBundledEntity | function | core/ |
@covers ::isSatisfiedBy @covers ::dataTypeMatches @covers ::getSampleValues @covers ::getConstraintObjects |
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. |
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. |
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. |
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. |
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.