| EntityContextTypedDataTest::testValidateConfigEntityContext |
function |
core/tests/Drupal/KernelTests/Core/Plugin/EntityContextTypedDataTest.php |
Tests that entity contexts wrapping a config entity can be validated. |
| EntityDisplayBase::$displayContext |
property |
core/lib/Drupal/Core/Entity/EntityDisplayBase.php |
Context in which this entity will be used (e.g. 'view', 'form'). |
| EntityDisplayFormBase::$displayContext |
property |
core/modules/field_ui/src/Form/EntityDisplayFormBase.php |
The display context. Either 'view' or 'form'. |
| EntityDisplayModeFormBase::$displayContext |
property |
core/modules/field_ui/src/Form/EntityDisplayModeFormBase.php |
The display context. Either 'view' or 'form'. |
| EntityDisplayModeFormBase::getDisplayByContext |
function |
core/modules/field_ui/src/Form/EntityDisplayModeFormBase.php |
Returns View or Form display based on display context. |
| EntityField::getCacheContexts |
function |
core/modules/views/src/Plugin/views/field/EntityField.php |
The cache contexts associated with this object. |
| EntityFieldRenderer::getCacheContexts |
function |
core/modules/views/src/Entity/Render/EntityFieldRenderer.php |
The cache contexts associated with this object. |
| EntityFormDisplay::$displayContext |
property |
core/lib/Drupal/Core/Entity/Entity/EntityFormDisplay.php |
|
| EntityFormDisplayEditForm::$displayContext |
property |
core/modules/field_ui/src/Form/EntityFormDisplayEditForm.php |
The display context. Either 'view' or 'form'. |
| EntityFormDisplayResourceTestBase::getExpectedCacheContexts |
function |
core/tests/Drupal/FunctionalTests/Rest/EntityFormDisplayResourceTestBase.php |
|
| EntityListBuilderTest::testCacheContexts |
function |
core/modules/system/tests/src/Functional/Entity/EntityListBuilderTest.php |
Tests that the correct cache contexts are set. |
| EntityRepository::$contextRepository |
property |
core/lib/Drupal/Core/Entity/EntityRepository.php |
The context repository service. |
| EntityRepository::getContentLanguageFromContexts |
function |
core/lib/Drupal/Core/Entity/EntityRepository.php |
Retrieves the current content language from the specified contexts. |
| EntityRepository::getTranslationFromContext |
function |
core/lib/Drupal/Core/Entity/EntityRepository.php |
|
| EntityRepositoryInterface::CONTEXT_ID_LEGACY_CONTEXT_OPERATION |
constant |
core/lib/Drupal/Core/Entity/EntityRepositoryInterface.php |
|
| EntityRepositoryInterface::getTranslationFromContext |
function |
core/lib/Drupal/Core/Entity/EntityRepositoryInterface.php |
Gets the entity translation to be used in the given context. |
| EntityRepositoryTest::$contextRepository |
property |
core/tests/Drupal/Tests/Core/Entity/EntityRepositoryTest.php |
The context repository. |
| EntityRepositoryTest::getLanguageContexts |
function |
core/tests/Drupal/KernelTests/Core/Entity/EntityRepositoryTest.php |
Returns a set of language contexts matching the specified language. |
| EntityRepositoryTest::testGetTranslationFromContext |
function |
core/tests/Drupal/Tests/Core/Entity/EntityRepositoryTest.php |
Tests the getTranslationFromContext() method. |
| EntityResource::executeQueryInRenderContext |
function |
core/modules/jsonapi/src/Controller/EntityResource.php |
Executes the query in a render context, to catch bubbled cacheability. |
| EntityResourceTestBase::getExpectedCacheContexts |
function |
core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php |
The expected cache contexts for the GET/HEAD response of the test entity. |
| EntityTestComputedFieldNormalizerTest::getExpectedCacheContexts |
function |
core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestComputedFieldNormalizerTest.php |
The expected cache contexts for the GET/HEAD response of the test entity. |
| EntityTestComputedFieldTest::getExpectedCacheContexts |
function |
core/modules/jsonapi/tests/src/Functional/EntityTestComputedFieldTest.php |
Retrieves the expected cache contexts for the response. |
| EntityTestJsonInternalPropertyNormalizerTest::getExpectedCacheContexts |
function |
core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestJsonInternalPropertyNormalizerTest.php |
The expected cache contexts for the GET/HEAD response of the test entity. |
| EntityTestLabelResourceTestBase::getExpectedCacheContexts |
function |
core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestLabelResourceTestBase.php |
The expected cache contexts for the GET/HEAD response of the test entity. |
| EntityTestMapFieldResourceTestBase::getExpectedCacheContexts |
function |
core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestMapFieldResourceTestBase.php |
The expected cache contexts for the GET/HEAD response of the test entity. |
| EntityTestTextItemNormalizerTest::getExpectedCacheContexts |
function |
core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestTextItemNormalizerTest.php |
The expected cache contexts for the GET/HEAD response of the test entity. |
| EntityTestViewGrantsCacheContext |
class |
core/modules/system/tests/modules/entity_test/src/Cache/EntityTestViewGrantsCacheContext.php |
Defines the entity_test view grants cache context service. |
| EntityTestViewGrantsCacheContext.php |
file |
core/modules/system/tests/modules/entity_test/src/Cache/EntityTestViewGrantsCacheContext.php |
|
| EntityTestViewGrantsCacheContext::getCacheableMetadata |
function |
core/modules/system/tests/modules/entity_test/src/Cache/EntityTestViewGrantsCacheContext.php |
Gets the cacheability metadata for the context. |
| EntityTestViewGrantsCacheContext::getContext |
function |
core/modules/system/tests/modules/entity_test/src/Cache/EntityTestViewGrantsCacheContext.php |
Returns the string representation of the cache context. |
| EntityTestViewGrantsCacheContext::getLabel |
function |
core/modules/system/tests/modules/entity_test/src/Cache/EntityTestViewGrantsCacheContext.php |
Returns the label of the cache context. |
| EntityType::$list_cache_contexts |
property |
core/lib/Drupal/Core/Entity/EntityType.php |
The list cache contexts for this entity type. |
| EntityType::getListCacheContexts |
function |
core/lib/Drupal/Core/Entity/EntityType.php |
|
| EntityTypeInterface::getListCacheContexts |
function |
core/lib/Drupal/Core/Entity/EntityTypeInterface.php |
The list cache contexts associated with this entity type. |
| EntityUnitTest::testCacheContexts |
function |
core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php |
Tests cache contexts. |
| EntityViewAlterTest::testContextualLinksRemoved |
function |
core/modules/layout_builder/tests/src/Kernel/EntityViewAlterTest.php |
Tests that contextual links are removed when rendering Layout Builder. |
| EntityViewBuilder::addContextualLinks |
function |
core/lib/Drupal/Core/Entity/EntityViewBuilder.php |
Add contextual links. |
| EntityViewDisplay::$displayContext |
property |
core/lib/Drupal/Core/Entity/Entity/EntityViewDisplay.php |
|
| EntityViewDisplayEditForm::$displayContext |
property |
core/modules/field_ui/src/Form/EntityViewDisplayEditForm.php |
The display context. Either 'view' or 'form'. |
| EntityViewDisplayResourceTestBase::getExpectedCacheContexts |
function |
core/tests/Drupal/FunctionalTests/Rest/EntityViewDisplayResourceTestBase.php |
|
| EntityWithUriCacheTagsTestBase::getDefaultCacheContexts |
function |
core/modules/system/tests/src/Functional/Entity/EntityWithUriCacheTagsTestBase.php |
Gets the default cache contexts for rendered entities. |
| ExecutionContext |
class |
core/lib/Drupal/Core/Validation/ExecutionContext.php |
Defines an execution context class. |
| ExecutionContext.php |
file |
core/lib/Drupal/Core/Validation/ExecutionContext.php |
|
| ExecutionContext::$constraint |
property |
core/lib/Drupal/Core/Validation/ExecutionContext.php |
The currently validated constraint. |
| ExecutionContext::$group |
property |
core/lib/Drupal/Core/Validation/ExecutionContext.php |
The currently validated group. |
| ExecutionContext::$metadata |
property |
core/lib/Drupal/Core/Validation/ExecutionContext.php |
The current validation metadata. |
| ExecutionContext::$object |
property |
core/lib/Drupal/Core/Validation/ExecutionContext.php |
The currently validated object. |
| ExecutionContext::$propertyPath |
property |
core/lib/Drupal/Core/Validation/ExecutionContext.php |
The property path leading to the current value. |
| ExecutionContext::$validatedConstraints |
property |
core/lib/Drupal/Core/Validation/ExecutionContext.php |
Stores which class constraint has been validated for which object. |