Search for context

  1. Search 7.x for context
  2. Search 9.5.x for context
  3. Search 8.9.x for context
  4. Search 10.3.x for context
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Context class core/lib/Drupal/Core/Plugin/Context/Context.php A Drupal specific context wrapper class.
Context class core/lib/Drupal/Component/Plugin/Context/Context.php A generic context class for wrapping data a plugin needs to operate.

All search results

Title Object type File name Summary
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
EntityType::getListCacheContexts function core/lib/Drupal/Core/Entity/EntityType.php The list cache contexts associated with this entity type.
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 @covers ::getCacheContexts
@covers ::addCacheContexts
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 Context in which this entity will be used (e.g. 'view', 'form').
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 The expected cache contexts for the GET/HEAD response of the test entity.
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 class core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php Defines an execution context class.
ExecutionContext.php file core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php
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.
ExecutionContext::$validatedObjects property core/lib/Drupal/Core/Validation/ExecutionContext.php Stores which objects have been validated in which group.
ExecutionContext::$value property core/lib/Drupal/Core/Validation/ExecutionContext.php The currently validated value.
ExecutionContext::$violations property core/lib/Drupal/Core/Validation/ExecutionContext.php The violations generated in the current context.
ExecutionContext::addViolation function core/lib/Drupal/Core/Validation/ExecutionContext.php
ExecutionContext::buildViolation function core/lib/Drupal/Core/Validation/ExecutionContext.php
ExecutionContext::getClassName function core/lib/Drupal/Core/Validation/ExecutionContext.php
ExecutionContext::getGroup function core/lib/Drupal/Core/Validation/ExecutionContext.php
ExecutionContext::getMetadata function core/lib/Drupal/Core/Validation/ExecutionContext.php
ExecutionContext::getObject function core/lib/Drupal/Core/Validation/ExecutionContext.php
ExecutionContext::getPropertyName function core/lib/Drupal/Core/Validation/ExecutionContext.php
ExecutionContext::getPropertyPath function core/lib/Drupal/Core/Validation/ExecutionContext.php
ExecutionContext::getRoot function core/lib/Drupal/Core/Validation/ExecutionContext.php
ExecutionContext::getValidator function core/lib/Drupal/Core/Validation/ExecutionContext.php
ExecutionContext::getValue function core/lib/Drupal/Core/Validation/ExecutionContext.php
ExecutionContext::getViolations function core/lib/Drupal/Core/Validation/ExecutionContext.php
ExecutionContext::isConstraintValidated function core/lib/Drupal/Core/Validation/ExecutionContext.php
ExecutionContext::isGroupValidated function core/lib/Drupal/Core/Validation/ExecutionContext.php
ExecutionContext::isObjectInitialized function core/lib/Drupal/Core/Validation/ExecutionContext.php
ExecutionContext::markConstraintAsValidated function core/lib/Drupal/Core/Validation/ExecutionContext.php
ExecutionContext::markGroupAsValidated function core/lib/Drupal/Core/Validation/ExecutionContext.php
ExecutionContext::markObjectAsInitialized function core/lib/Drupal/Core/Validation/ExecutionContext.php

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.